[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 24/73] riscv: convert to cpu_halted
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH v6 24/73] riscv: convert to cpu_halted |
Date: |
Tue, 29 Jan 2019 19:47:22 -0500 |
Cc: Palmer Dabbelt <address@hidden>
Cc: Sagar Karandikar <address@hidden>
Cc: Bastian Koppelmann <address@hidden>
Cc: Alistair Francis <address@hidden>
Reviewed-by: Palmer Dabbelt <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
target/riscv/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/riscv/op_helper.c b/target/riscv/op_helper.c
index 81bd1a77ea..261d6fbfe9 100644
--- a/target/riscv/op_helper.c
+++ b/target/riscv/op_helper.c
@@ -125,7 +125,7 @@ void helper_wfi(CPURISCVState *env)
{
CPUState *cs = CPU(riscv_env_get_cpu(env));
- cs->halted = 1;
+ cpu_halted_set(cs, 1);
cs->exception_index = EXCP_HLT;
cpu_loop_exit(cs);
}
--
2.17.1
- [Qemu-devel] [PATCH v6 11/73] hppa: convert to helper_cpu_halted_set, (continued)
- [Qemu-devel] [PATCH v6 11/73] hppa: convert to helper_cpu_halted_set, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 01/73] cpu: convert queued work to a QSIMPLEQ, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 07/73] cpu: make per-CPU locks an alias of the BQL in TCG rr mode, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 13/73] alpha: convert to helper_cpu_halted_set, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 15/73] cpu: define cpu_halted helpers, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 14/73] microblaze: convert to helper_cpu_halted_set, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 16/73] tcg-runtime: convert to cpu_halted_set, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 09/73] ppc: convert to helper_cpu_halted_set, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 18/73] ppc: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 22/73] m68k: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 24/73] riscv: convert to cpu_halted,
Emilio G. Cota <=
- [Qemu-devel] [PATCH v6 26/73] sparc: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 21/73] lm32: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 23/73] mips: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 19/73] sh4: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 17/73] arm: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 27/73] xtensa: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 20/73] i386: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 30/73] cpu-exec: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 29/73] openrisc: convert to cpu_halted, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 32/73] cpu: define cpu_interrupt_request helpers, Emilio G. Cota, 2019/01/29