summary refs log tree commit diff stats
path: root/hw/apic_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/apic_internal.h')
-rw-r--r--hw/apic_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/apic_internal.h b/hw/apic_internal.h
index 30932a303a..79e2de2243 100644
--- a/hw/apic_internal.h
+++ b/hw/apic_internal.h
@@ -95,8 +95,9 @@ typedef struct APICCommonClass
 
 struct APICCommonState {
     SysBusDevice busdev;
+
     MemoryRegion io_memory;
-    void *cpu_env;
+    X86CPU *cpu;
     uint32_t apicbase;
     uint8_t id;
     uint8_t arb_id;