diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-09-14 09:09:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-09-15 10:44:08 +0200 |
commit | 2111497c0f9ad5dda154ef533ab2c842435a8e09 (patch) | |
tree | 2fbd11cf59cbe7ee76175a466cfecabfc256b77c /cpukit/score/src/isr.c | |
parent | score: Fix TLS support for some code models (diff) | |
download | rtems-2111497c0f9ad5dda154ef533ab2c842435a8e09.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score/src/isr.c')
-rw-r--r-- | cpukit/score/src/isr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <rtems/score/percpu.h> #include <rtems/config.h> +const char * const volatile _ISR_Stack_size_object = _ISR_Stack_size; + void _ISR_Handler_initialization( void ) { uint32_t cpu_max; |