Changeset 864e272 in mainline
- Timestamp:
- 2010-07-14T12:38:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a759467
- Parents:
- c8cd9a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/proc/scheduler.c
rc8cd9a8 r864e272 38 38 #include <proc/thread.h> 39 39 #include <arch.h> 40 #include <arch/context.h> /* SP_DELTA */41 40 #include <arch/interrupt.h> 42 41 #include <arch/pm.h> … … 59 58 void before_thread_runs_arch(void) 60 59 { 61 uintptr_t kstk = (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE - 62 SP_DELTA]; 60 uintptr_t kstk = (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE]; 63 61 64 62 if (CPU->arch.fi.bits.sep) {
Note:
See TracChangeset
for help on using the changeset viewer.