On 06/04/2020 21:42, Gedare Bloom wrote:
On Mon, Apr 6, 2020 at 11:57 AM Sebastian Huber
<sebastian.hu...@embedded-brains.de>  wrote:
Update #3799.
---
  cpukit/include/rtems/confdefs/percpu.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/include/rtems/confdefs/percpu.h 
b/cpukit/include/rtems/confdefs/percpu.h
index 730571b54a..8ae848659c 100644
--- a/cpukit/include/rtems/confdefs/percpu.h
+++ b/cpukit/include/rtems/confdefs/percpu.h
@@ -96,11 +96,11 @@ RTEMS_DEFINE_GLOBAL_SYMBOL(
  char _ISR_Stack_area_begin[
    _CONFIGURE_MAXIMUM_PROCESSORS * CONFIGURE_INTERRUPT_STACK_SIZE
  ] RTEMS_ALIGNED( CPU_INTERRUPT_STACK_ALIGNMENT )
-RTEMS_SECTION( ".rtemsstack.interrupt.begin" );
+RTEMS_SECTION( ".rtemsstack.interrupt" );

-RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION(
+RTEMS_DEFINE_GLOBAL_SYMBOL(
    _ISR_Stack_area_end,
-  ".rtemsstack.interrupt.end"
+  RTEMS_SYMBOL_NAME( _ISR_Stack_area_begin ) + CONFIGURE_INTERRUPT_STACK_SIZE
This needs * _CONFIGURE_MAXIMUM_PROCESSORS?
Oh, yes. This is really amazingly difficult to get right.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to