Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1122 → Rev 1121

/kernel/trunk/arch/mips32/src/mips32.c
129,9 → 129,7
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,
(__address) kernel_uarg->uspace_entry);
userspace_asm(((__address) kernel_uarg->uspace_stack+PAGE_SIZE), (__address) kernel_uarg->uspace_uarg);
while (1)
;
}
/kernel/trunk/arch/mips32/src/start.S
303,7 → 303,6
 
userspace_asm:
add $sp, $a0, 0
add $v0, $a1, 0
add $t9, $a2, 0 # Set up correct entry into PIC code
add $v0, $a1, 0
eret
 
/kernel/trunk/arch/mips32/include/asm.h
57,7 → 57,6
 
extern void cpu_halt(void);
extern void asm_delay_loop(__u32 t);
extern void userspace_asm(__address ustack, __address uspace_uarg,
__address entry);
extern void userspace_asm(__address ustack, __address uspace_uarg);
 
#endif