mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS
This value is fully internal to qemu, and so is not a TARGET define. We use this as an extra marker for both host and target errno. Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0a7e01904d
commit
af254a2792
31 changed files with 45 additions and 46 deletions
|
@ -48,7 +48,7 @@ void cpu_loop(CPUOpenRISCState *env)
|
|||
cpu_get_gpr(env, 6),
|
||||
cpu_get_gpr(env, 7),
|
||||
cpu_get_gpr(env, 8), 0, 0);
|
||||
if (ret == -TARGET_ERESTARTSYS) {
|
||||
if (ret == -QEMU_ERESTARTSYS) {
|
||||
env->pc -= 4;
|
||||
} else if (ret != -TARGET_QEMU_ESIGRETURN) {
|
||||
cpu_set_gpr(env, 11, ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue