HPET device
PATCH 2/9 HPET device
This patch adds an HPET emulator device. Normally the HPET is not used by Mac OS X, but required to exist. This is mostly a dummy implementation to satisfy Mac OS X and I am not sure if it is safe to use. As it is only activated on the IntelMac target, I do not expect any problems with that though.
Makefile.target +1 -1
@@ -441,7 +441,7 @@ ifeq ($(TARGET_BASE_ARCH), i386) VL_OBJS+= ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o VL_OBJS+= cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o -VL_OBJS+= usb-uhci.o vmmouse.o vmport.o vmware_vga.o smbios.o +VL_OBJS+= usb-uhci.o vmmouse.o vmport.o vmware_vga.o smbios.o hpet.o CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE endif ifeq ($(TARGET_BASE_ARCH), ppc)
hw/hpet.c new file +294 -0
294 lines not on this page · raw message