[PATCH 2/2] config: Fix _ISR_Stack_area_end
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Apr 6 20:08:22 UTC 2020
On 06/04/2020 21:42, Gedare Bloom wrote:
> 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?
Oh, yes. This is really amazingly difficult to get right.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200406/952f5878/attachment-0001.html>
More information about the devel
mailing list