Ignore:
Timestamp:
Aug 7, 2014, 12:30:40 PM (10 years ago)
Author:
alain
Message:

Reducing the idle_task stack to 64 bytes (to reduce the kdata segment size)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/kernel_init.c

    r379 r385  
    129129
    130130////////////////////////////////////////////////////////////////////////////////////
    131 // staks for the "idle" tasks (512 bytes for each processor)
     131// stacks for the "idle" tasks (64 bytes for each processor)
    132132////////////////////////////////////////////////////////////////////////////////////
    133133
     
    297297    unsigned int p = ((x * Y_SIZE) + y) * NB_PROCS_MAX + lpid;
    298298
    299     unsigned int stack = (unsigned int)_idle_stack + ((p + 1)<<9);
     299    unsigned int stack = (unsigned int)_idle_stack + ((p + 1) * 64);
    300300
    301301    _set_task_slot( global_pid, IDLE_TASK_INDEX, CTX_SP_ID,  stack);
Note: See TracChangeset for help on using the changeset viewer.