Changeset 9cbd27b in mainline
- Timestamp:
- 2006-03-24T00:50:00Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11cb08ca
- Parents:
- e1be3b6
- Location:
- arch/mips32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/asm.h
re1be3b6 r9cbd27b 58 58 extern void cpu_halt(void); 59 59 extern void asm_delay_loop(__u32 t); 60 extern void userspace_asm(__address ustack, __address uspace_uarg); 60 extern void userspace_asm(__address ustack, __address uspace_uarg, 61 __address entry); 61 62 62 63 #endif -
arch/mips32/src/mips32.c
re1be3b6 r9cbd27b 130 130 cp0_status_ie_enabled_bit)); 131 131 cp0_epc_write((__address) kernel_uarg->uspace_entry); 132 userspace_asm(((__address) kernel_uarg->uspace_stack+PAGE_SIZE), (__address) kernel_uarg->uspace_uarg); 132 userspace_asm(((__address) kernel_uarg->uspace_stack+PAGE_SIZE), 133 (__address) kernel_uarg->uspace_uarg, 134 (__address) kernel_uarg->uspace_entry); 133 135 while (1) 134 136 ; -
arch/mips32/src/start.S
re1be3b6 r9cbd27b 304 304 userspace_asm: 305 305 add $sp, $a0, 0 306 add $v0, $a1, 0 307 eret 308 306 add $v0, $a1, 0 307 add $t9, $a2, 0 # Set up correct entry into PIC code 308 eret 309
Note:
See TracChangeset
for help on using the changeset viewer.