[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 20/74] sh4: convert to cpu_halted
From: |
Robert Foley |
Subject: |
[PATCH v9 20/74] sh4: convert to cpu_halted |
Date: |
Thu, 21 May 2020 12:39:17 -0400 |
From: "Emilio G. Cota" <address@hidden>
Cc: Aurelien Jarno <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Robert Foley <address@hidden>
---
target/sh4/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/sh4/op_helper.c b/target/sh4/op_helper.c
index 14c3db0f48..d338bbe871 100644
--- a/target/sh4/op_helper.c
+++ b/target/sh4/op_helper.c
@@ -90,7 +90,7 @@ void helper_sleep(CPUSH4State *env)
{
CPUState *cs = env_cpu(env);
- cs->halted = 1;
+ cpu_halted_set(cs, 1);
env->in_sleep = 1;
raise_exception(env, EXCP_HLT, 0);
}
--
2.17.1
- Re: [PATCH v9 10/74] cris: convert to helper_cpu_halted_set, (continued)
- [PATCH v9 12/74] m68k: convert to helper_cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 11/74] hppa: convert to helper_cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 13/74] alpha: convert to helper_cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 14/74] microblaze: convert to helper_cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 15/74] cpu: define cpu_halted helpers, Robert Foley, 2020/05/21
- [PATCH v9 16/74] tcg-runtime: convert to cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 17/74] hw/semihosting: convert to cpu_halted_set, Robert Foley, 2020/05/21
- [PATCH v9 18/74] arm: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 20/74] sh4: convert to cpu_halted,
Robert Foley <=
- [PATCH v9 19/74] ppc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 21/74] i386: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 23/74] m68k: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 22/74] lm32: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 24/74] mips: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 25/74] riscv: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 28/74] xtensa: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 29/74] gdbstub: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 30/74] openrisc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 26/74] s390x: convert to cpu_halted, Robert Foley, 2020/05/21