Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1121 → Rev 1122

//kernel/trunk/arch/mips32/src/mips32.c
129,7 → 129,9
cp0_status_um_bit |
cp0_status_ie_enabled_bit));
cp0_epc_write((__address) kernel_uarg->uspace_entry);
userspace_asm(((__address) kernel_uarg->uspace_stack+PAGE_SIZE), (__address) kernel_uarg->uspace_uarg);
userspace_asm(((__address) kernel_uarg->uspace_stack+PAGE_SIZE),
(__address) kernel_uarg->uspace_uarg,
(__address) kernel_uarg->uspace_entry);
while (1)
;
}
//kernel/trunk/arch/mips32/src/start.S
303,6 → 303,7
 
userspace_asm:
add $sp, $a0, 0
add $v0, $a1, 0
add $v0, $a1, 0
add $t9, $a2, 0 # Set up correct entry into PIC code
eret