Changeset 4003861 in mainline for kernel/arch/amd64/src/proc
- Timestamp:
- 2010-07-14T13:11:59Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 074c9bd, aa0d227
- Parents:
- 6b1a85c (diff), f77e591d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/amd64/src/proc
- Files:
-
- 2 edited
-
scheduler.c (modified) (2 diffs)
-
thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/proc/scheduler.c
r6b1a85c r4003861 38 38 #include <proc/thread.h> 39 39 #include <arch.h> 40 #include <arch/context.h>41 40 #include <arch/asm.h> 42 41 #include <print.h> … … 57 56 { 58 57 CPU->arch.tss->rsp0 = 59 (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA];58 (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE]; 60 59 61 60 /* -
kernel/arch/amd64/src/proc/thread.c
r6b1a85c r4003861 34 34 35 35 #include <proc/thread.h> 36 #include <arch/interrupt.h> 36 37 37 38 /** Perform amd64 specific thread initialization. … … 49 50 */ 50 51 thread->arch.syscall_rsp[SYSCALL_KSTACK_RSP] = 51 (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof( uint64_t)];52 (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof(istate_t)]; 52 53 } 53 54
Note:
See TracChangeset
for help on using the changeset viewer.
