Changes in kernel/arch/mips64/src/mips64.c [2277e03:4dee0cb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips64/src/mips64.c
r2277e03 r4dee0cb 188 188 cp0_status_um_bit | cp0_status_ie_enabled_bit)); 189 189 cp0_epc_write((uintptr_t) kernel_uarg->uspace_entry); 190 userspace_asm(((uintptr_t) kernel_uarg->uspace_stack + 191 kernel_uarg->uspace_stack_size), 190 userspace_asm(((uintptr_t) kernel_uarg->uspace_stack + STACK_SIZE), 192 191 (uintptr_t) kernel_uarg->uspace_uarg, 193 192 (uintptr_t) kernel_uarg->uspace_entry); … … 205 204 { 206 205 supervisor_sp = 207 (uintptr_t) &THREAD->kstack[STACK_SIZE ];206 (uintptr_t) &THREAD->kstack[STACK_SIZE - SP_DELTA]; 208 207 } 209 208
Note:
See TracChangeset
for help on using the changeset viewer.