From WikiPrizm
Jump to: navigation, search

This page has not been completed. Parts may be missing or reorganized before completed. Information is provided as-is and may have errors.

Each process has a different stack.

The main process' stack has a size of 458751 bytes, in the address range 0x880F0000 to 0x8815FFFF.

The child process' stack, which is the one normally used, has a size of 524288 bytes, in the address range 0x88160000 to 0x881DFFFF. This is also used by the static add-in RAM (static RAM comes from the start, the stack grows downwards, from the end). The start of the child process' stack is virtualized to 0x08100000, at least in the case of add-ins.

Stacks, along with the heap, are saved to flash on power off and restored when turning back on, meaning the power off actually works more like hibernation.