[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RTEMS initializing stack size
- Date: Thu, 7 Jan 2010 12:56:39 +0200
- From: leonp at plris.com (Leon Pollak)
- Subject: RTEMS initializing stack size
The cpu_supplement.pdf states in para 7.6.2 the following (about BSP):
- Must set stack pointer (sp or r1) such that a minimum stack size of MINI-
MUM_STACK_SIZE bytes is provided for the RTEMS initialization sequence.
Now, when I search the RTEMS source tree for MINIMUM_STACK_SIZE, I can not
find something looking "normal"...:-)
Besides, I found some strange definition:
PPC_MIMMUM_STACK_FRAME_SIZE as PPC_STACK_ALIGNMENT, which is 8 or 16...???
Just to be precise: I am speaking about the stack area required by RTEMS at
its initialization phase, before the first context switch.
Thanks ahead for clarifications.