@@ -13,6 +13,8 @@
#ifndef QEMU_HPET_EMUL_H
#define QEMU_HPET_EMUL_H
+extern int no_hpet;
+
#define HPET_BASE 0xfed00000
#define HPET_CLK_PERIOD 10000000ULL /* 10000000 femtoseconds == 10ns*/
@@ -124,9 +124,6 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
int kvm_enabled);
void piix4_smbus_register_device(SMBusDevice *dev, uint8_t addr);
-/* hpet.c */
-extern int no_hpet;
-
/* pcspk.c */
void pcspk_init(PITState *);
int pcspk_audio_init(qemu_irq *pic);
@@ -30,6 +30,7 @@
#include "hw/pci.h"
#include "hw/watchdog.h"
#include "hw/loader.h"
+#include "hw/hpet_emul.h"
#include "gdbstub.h"
#include "net.h"
#include "net/slirp.h"
Signed-off-by: Juan Quintela <quintela@redhat.com> --- hw/hpet_emul.h | 2 ++ hw/pc.h | 3 --- monitor.c | 1 + 3 files changed, 3 insertions(+), 3 deletions(-)