Changeset 9f52563 in mainline for arch/mips32/src/mips32.c
- Timestamp:
- 2006-03-17T01:34:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8a0b0669
- Parents:
- 5fceec7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/mips32.c
r5fceec7 r9f52563 121 121 __address supervisor_sp __attribute__ ((section (".text"))); 122 122 123 void userspace( __address entry)123 void userspace(uspace_arg_t *uarg) 124 124 { 125 125 /* EXL=1, UM=1, IE=1 */ … … 127 127 cp0_status_um_bit | 128 128 cp0_status_ie_enabled_bit)); 129 cp0_epc_write( entry);130 userspace_asm( USTACK_ADDRESS+PAGE_SIZE);129 cp0_epc_write(uarg->uspace_entry); 130 userspace_asm(uarg->uspace_stack+PAGE_SIZE); 131 131 while (1) 132 132 ;
Note:
See TracChangeset
for help on using the changeset viewer.