39,11 → 39,13 |
#include <arch/stack.h> |
#include <config.h> |
|
|
static inline void cpu_sleep(void) |
{ |
// not implemented on gxemul |
} |
|
|
/** Return base address of current stack |
* |
* Return the base address of the current stack. |
57,10 → 59,10 |
return v; |
} |
|
|
extern void cpu_halt(void); |
extern void asm_delay_loop(uint32_t t); |
extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg, |
uintptr_t entry); |
extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg, uintptr_t entry); |
|
extern ipl_t interrupts_disable(void); |
extern ipl_t interrupts_enable(void); |