LPC device
PATCH 3/9 LPC device
The LPC is the "Low Pin Control", the reincanation of the "PCI-ISA-Bridge". As all Intel Macs have at least an ICH7 chipset, this bridge is required to exist and hosts the HPET device.
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 hpet.o +VL_OBJS+= usb-uhci.o vmmouse.o vmport.o vmware_vga.o smbios.o hpet.o lpc.o CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE endif ifeq ($(TARGET_BASE_ARCH), ppc)
hw/lpc.c new file +154 -0
154 lines not on this page · raw message
hw/pc.h +3 -0
@@ -142,4 +142,7 @@ void pci_piix4_ide_init(PCIBus *bus, Blovoid isa_ne2000_init (int base,qemu_irq irq,NICInfo *nd); +/* lpc.c */ +void lpc_init (PCIBus *bus,int devfn,qemu_irq *pic); +#endif