Revision f24f381b target-sh4/op_helper.c
b/target-sh4/op_helper.c | ||
---|---|---|
94 | 94 |
cpu_loop_exit(); |
95 | 95 |
} |
96 | 96 |
|
97 |
void helper_sleep(void)
|
|
97 |
void helper_sleep(uint32_t next_pc)
|
|
98 | 98 |
{ |
99 | 99 |
env->halted = 1; |
100 | 100 |
env->exception_index = EXCP_HLT; |
101 |
env->pc = next_pc; |
|
101 | 102 |
cpu_loop_exit(); |
102 | 103 |
} |
103 | 104 |
|
Also available in: Unified diff