[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 22/74] lm32: convert to cpu_halted
From: |
Robert Foley |
Subject: |
[PATCH v8 22/74] lm32: convert to cpu_halted |
Date: |
Thu, 26 Mar 2020 15:31:04 -0400 |
From: "Emilio G. Cota" <address@hidden>
Cc: Michael Walle <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/lm32/op_helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/lm32/op_helper.c b/target/lm32/op_helper.c
index e39fcd5647..8e0bd57b9d 100644
--- a/target/lm32/op_helper.c
+++ b/target/lm32/op_helper.c
@@ -32,7 +32,7 @@ void HELPER(hlt)(CPULM32State *env)
{
CPUState *cs = env_cpu(env);
- cs->halted = 1;
+ cpu_halted_set(cs, 1);
cs->exception_index = EXCP_HLT;
cpu_loop_exit(cs);
}
@@ -45,7 +45,7 @@ void HELPER(ill)(CPULM32State *env)
"Connect a debugger or switch to the monitor console "
"to find out more.\n");
vm_stop(RUN_STATE_PAUSED);
- cs->halted = 1;
+ cpu_halted_set(cs, 1);
raise_exception(env, EXCP_HALTED);
#endif
}
--
2.17.1
- [PATCH v8 13/74] alpha: convert to helper_cpu_halted_set, (continued)
- [PATCH v8 13/74] alpha: convert to helper_cpu_halted_set, Robert Foley, 2020/03/26
- [PATCH v8 14/74] microblaze: convert to helper_cpu_halted_set, Robert Foley, 2020/03/26
- [PATCH v8 15/74] cpu: define cpu_halted helpers, Robert Foley, 2020/03/26
- [PATCH v8 16/74] tcg-runtime: convert to cpu_halted_set, Robert Foley, 2020/03/26
- [PATCH v8 17/74] hw/semihosting: convert to cpu_halted_set, Robert Foley, 2020/03/26
- [PATCH v8 18/74] arm: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 20/74] sh4: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 19/74] ppc: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 21/74] i386: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 23/74] m68k: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 22/74] lm32: convert to cpu_halted,
Robert Foley <=
- [PATCH v8 24/74] mips: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 25/74] riscv: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 28/74] xtensa: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 27/74] sparc: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 26/74] s390x: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 34/74] ppc: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 36/74] i386: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 39/74] arm: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 29/74] gdbstub: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 30/74] openrisc: convert to cpu_halted, Robert Foley, 2020/03/26