From 2111497c0f9ad5dda154ef533ab2c842435a8e09 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 14 Sep 2023 09:09:53 +0200 Subject: rtems: rtems_configuration_get_interrupt_stack_size() Fix rtems_configuration_get_interrupt_stack_size() for some code models. The _ISR_Stack_size symbol has an arbitrary absolute address and may not be representable in the code model used by the compiler. Update #4953. --- cpukit/score/src/isr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/src/isr.c') diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c index 75df00e228..7337028b0f 100644 --- a/cpukit/score/src/isr.c +++ b/cpukit/score/src/isr.c @@ -44,6 +44,8 @@ #include #include +const char * const volatile _ISR_Stack_size_object = _ISR_Stack_size; + void _ISR_Handler_initialization( void ) { uint32_t cpu_max; -- cgit v1.2.3