Changes in kernel/arch/mips32/src/mips32.c [2277e03:27ed3edd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r2277e03 r27ed3edd 211 211 cp0_status_um_bit | cp0_status_ie_enabled_bit)); 212 212 cp0_epc_write((uintptr_t) kernel_uarg->uspace_entry); 213 userspace_asm(((uintptr_t) kernel_uarg->uspace_stack + 214 kernel_uarg->uspace_stack_size), 213 userspace_asm(((uintptr_t) kernel_uarg->uspace_stack + STACK_SIZE), 215 214 (uintptr_t) kernel_uarg->uspace_uarg, 216 215 (uintptr_t) kernel_uarg->uspace_entry); … … 228 227 { 229 228 supervisor_sp = 230 (uintptr_t) &THREAD->kstack[STACK_SIZE ];229 (uintptr_t) &THREAD->kstack[STACK_SIZE - SP_DELTA]; 231 230 } 232 231
Note:
See TracChangeset
for help on using the changeset viewer.