]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/apic.h
target-i386: move cpu halted decision into x86_cpu_reset
[mirror_qemu.git] / hw / apic.h
index a89542b231c54d938bc59b06eee35cc31a7b1ed3..1d48e027c3c17c88f1c9e4f894ef72f78d903f59 100644 (file)
--- a/hw/apic.h
+++ b/hw/apic.h
@@ -21,9 +21,12 @@ void apic_sipi(DeviceState *s);
 void apic_handle_tpr_access_report(DeviceState *d, target_ulong ip,
                                    TPRAccess access);
 void apic_poll_irq(DeviceState *d);
+void apic_designate_bsp(DeviceState *d);
 
 /* pc.c */
-int cpu_is_bsp(CPUX86State *env);
 DeviceState *cpu_get_current_apic(void);
 
+/* cpu.c */
+bool cpu_is_bsp(X86CPU *cpu);
+
 #endif