From 591a6d627995ce00b0db8d7360ad4032eeb77b9c Mon Sep 17 00:00:00 2001 From: ths Date: Sun, 26 Aug 2007 17:46:00 +0000 Subject: [PATCH] Add a generic framework for VMware communication port, by Herve Poussineau. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3149 c046a42c-6fe2-441c-8c8c-71466251a162 --- Makefile.target | 2 +- vl.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index d1204d678f..7cfe52d779 100644 --- a/Makefile.target +++ b/Makefile.target @@ -433,7 +433,7 @@ ifeq ($(TARGET_BASE_ARCH), i386) VL_OBJS+= ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV) 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 smbus_eeprom.o vmmouse.o vmware_vga.o +VL_OBJS+= usb-uhci.o smbus_eeprom.o vmmouse.o vmport.o vmware_vga.o CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE endif ifeq ($(TARGET_BASE_ARCH), ppc) diff --git a/vl.h b/vl.h index e72df0e691..819908b22c 100644 --- a/vl.h +++ b/vl.h @@ -1061,6 +1061,12 @@ void lance_init(NICInfo *nd, target_phys_addr_t leaddr, void *dma_opaque, /* vmmouse.c */ void *vmmouse_init(void *m); +/* vmport.c */ +#ifdef TARGET_I386 +void vmport_init(CPUState *env); +void vmport_register(unsigned char command, IOPortReadFunc *func, void *opaque); +#endif + /* pckbd.c */ void i8042_init(qemu_irq kbd_irq, qemu_irq mouse_irq, uint32_t io_base);