Commit 591a6d627995ce00b0db8d7360ad4032eeb77b9c
1 parent
4ed59aa5
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
Showing
2 changed files
with
7 additions
and
1 deletions
Makefile.target
... | ... | @@ -433,7 +433,7 @@ ifeq ($(TARGET_BASE_ARCH), i386) |
433 | 433 | VL_OBJS+= ide.o pckbd.o ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV) |
434 | 434 | VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o |
435 | 435 | VL_OBJS+= cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o |
436 | -VL_OBJS+= usb-uhci.o smbus_eeprom.o vmmouse.o vmware_vga.o | |
436 | +VL_OBJS+= usb-uhci.o smbus_eeprom.o vmmouse.o vmport.o vmware_vga.o | |
437 | 437 | CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE |
438 | 438 | endif |
439 | 439 | ifeq ($(TARGET_BASE_ARCH), ppc) | ... | ... |
vl.h
... | ... | @@ -1061,6 +1061,12 @@ void lance_init(NICInfo *nd, target_phys_addr_t leaddr, void *dma_opaque, |
1061 | 1061 | /* vmmouse.c */ |
1062 | 1062 | void *vmmouse_init(void *m); |
1063 | 1063 | |
1064 | +/* vmport.c */ | |
1065 | +#ifdef TARGET_I386 | |
1066 | +void vmport_init(CPUState *env); | |
1067 | +void vmport_register(unsigned char command, IOPortReadFunc *func, void *opaque); | |
1068 | +#endif | |
1069 | + | |
1064 | 1070 | /* pckbd.c */ |
1065 | 1071 | |
1066 | 1072 | void i8042_init(qemu_irq kbd_irq, qemu_irq mouse_irq, uint32_t io_base); | ... | ... |