[PATCH 2/2] config: Fix _ISR_Stack_area_end

Gedare Bloom gedare at rtems.org
Mon Apr 6 19:42:35 UTC 2020


On Mon, Apr 6, 2020 at 11:57 AM Sebastian Huber
<sebastian.huber at 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?
>  );
>
>  /* Thread stack size configuration */
> --
> 2.16.4
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list