Monday, June 19, 2017

Computing stack size

Computing stack size

how to initialize the sizes of the stacks?
what criteria of choice are initialized these stacks?

QUESTION

How can I determine the maximum stack size of my program?

*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x200;
define symbol __ICFEDIT_size_svcstack__ = 0x0;
define symbol __ICFEDIT_size_irqstack__ = 0x100;
define symbol __ICFEDIT_size_fiqstack__ = 0x0;
define symbol __ICFEDIT_size_undstack__ = 0x0;
define symbol __ICFEDIT_size_abtstack__ = 0x0;
define symbol __ICFEDIT_size_heap__ = 0x200;


What is logical and physical address in operating system?
An address generated by the CPU is a logical address whereas address actually available on memory unit is a physical addressLogical address is also known a Virtual address. In other words, the operating system or some other programs uses base addresses as a measure to find addresses.