Process Stack Size
Posted: Wed Apr 18, 2012 10:05 pm
Hi,
i saw the definitions below in the assembly file
main_stack_size EQU 0x00000400
00034
00035 ;// <h> Process Stack Configuration
00036 ;// <o> Process Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
00037 ;// </h>
00038 proc_stack_size EQU 0x00000400
00039
00040 ;// <h> C-runtime heap size
00041 ;// <o> C-runtime heap size (in Bytes) <0x0-0xFFFFFFFF:8>
00042 ;// </h>
00043 heap_size EQU 0x00000400
Is there any restriction for the process stack size?
I mean, < proc_stack_size EQU 0x00000400> means that the THD_WA_SIZE must be less than 1024bytes? (if the assembly file remain as-is)
can i use a bigger size?for example 4k.
main_stack_size EQU 0x00000400 : this is the stacksize of the main?
heap_size EQU 0x00000400 : and this the heap for the whole program?
thanx
i saw the definitions below in the assembly file
main_stack_size EQU 0x00000400
00034
00035 ;// <h> Process Stack Configuration
00036 ;// <o> Process Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
00037 ;// </h>
00038 proc_stack_size EQU 0x00000400
00039
00040 ;// <h> C-runtime heap size
00041 ;// <o> C-runtime heap size (in Bytes) <0x0-0xFFFFFFFF:8>
00042 ;// </h>
00043 heap_size EQU 0x00000400
Is there any restriction for the process stack size?
I mean, < proc_stack_size EQU 0x00000400> means that the THD_WA_SIZE must be less than 1024bytes? (if the assembly file remain as-is)
can i use a bigger size?for example 4k.
main_stack_size EQU 0x00000400 : this is the stacksize of the main?
heap_size EQU 0x00000400 : and this the heap for the whole program?
thanx