Changeset 208fa65 in mainline
- Timestamp:
- 2006-09-09T12:34:08Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7bb6b06
- Parents:
- 9b0f294
- Location:
- kernel/arch/sparc64/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/proc/scheduler.c
r9b0f294 r208fa65 93 93 */ 94 94 uint64_t sp = (uintptr_t) THREAD->kstack + STACK_SIZE 95 - (STACK_BIAS + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_WINDOW_SAVE_AREA_SIZE);95 - (STACK_BIAS + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)); 96 96 write_to_ig_g6(sp); 97 97 write_to_ag_g6(sp); -
kernel/arch/sparc64/src/sparc64.c
r9b0f294 r208fa65 99 99 switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry, 100 100 ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE 101 - (ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_BIAS + STACK_WINDOW_SAVE_AREA_SIZE),101 - (ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_BIAS), 102 102 (uintptr_t) kernel_uarg->uspace_uarg); 103 103
Note:
See TracChangeset
for help on using the changeset viewer.