aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 15:22:54 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 04:12:23 +0100
commit8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85 (patch)
treee64d83671b05869cc696b38bbda4a2d9a7b75c66 /target-i386/cpu.h
parentbee615d4b945e6d88dc37a39e40be9f105622f8d (diff)
downloadqemu-8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85.zip
qemu-8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85.tar.gz
qemu-8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85.tar.bz2
target-i386: Pass X86CPU to cpu_x86_inject_mce()
Needed for changing run_on_cpu() argument to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 2d7b4c3..cdc59dc 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -1135,7 +1135,7 @@ void do_cpu_sipi(X86CPU *cpu);
#define MCE_INJECT_BROADCAST 1
#define MCE_INJECT_UNCOND_AO 2
-void cpu_x86_inject_mce(Monitor *mon, CPUX86State *cenv, int bank,
+void cpu_x86_inject_mce(Monitor *mon, X86CPU *cpu, int bank,
uint64_t status, uint64_t mcg_status, uint64_t addr,
uint64_t misc, int flags);