Changeset b6d4566 in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2006-03-27T16:56:51Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ff75d34
Parents:
50fe620
Message:

CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/thread.c

    r50fe620 rb6d4566  
    267267       
    268268        /* Not needed, but good for debugging */
    269         memsetb((__address)t->kstack, THREAD_STACK_SIZE, 0);
     269        memsetb((__address)t->kstack, THREAD_STACK_SIZE * 1<<STACK_FRAMES, 0);
    270270       
    271271        ipl = interrupts_disable();
Note: See TracChangeset for help on using the changeset viewer.