]> Git Repo - qemu.git/blame - hw/vmware_vga.h
malta: Fix regression (i8259 interrupts did not work)
[qemu.git] / hw / vmware_vga.h
CommitLineData
18e08a55
MT
1#ifndef QEMU_VMWARE_VGA_H
2#define QEMU_VMWARE_VGA_H
3
4#include "qemu-common.h"
5
6/* vmware_vga.c */
ad6d45fa 7static inline DeviceState *pci_vmsvga_init(PCIBus *bus)
5c81e4ca 8{
7ba7e49e
BS
9 PCIDevice *dev;
10
11 dev = pci_try_create(bus, -1, "vmware-svga");
12 if (!dev || qdev_init(&dev->qdev) < 0) {
ad6d45fa 13 return NULL;
7ba7e49e 14 } else {
ad6d45fa 15 return &dev->qdev;
7ba7e49e 16 }
5c81e4ca 17}
18e08a55
MT
18
19#endif
This page took 0.322252 seconds and 4 git commands to generate.