hw/arm/bcm2836: Only provide "enabled-cpus" property to multicore SoCs
[qemu.git] / hw / display / virtio-vga.h
1 #ifndef VIRTIO_VGA_H
2 #define VIRTIO_VGA_H
3
4 #include "hw/virtio/virtio-gpu-pci.h"
5 #include "vga_int.h"
6 #include "qom/object.h"
7
8 /*
9 * virtio-vga-base: This extends VirtioPCIProxy.
10 */
11 #define TYPE_VIRTIO_VGA_BASE "virtio-vga-base"
12 OBJECT_DECLARE_TYPE(VirtIOVGABase, VirtIOVGABaseClass,
13 VIRTIO_VGA_BASE)
14
15 struct VirtIOVGABase {
16 VirtIOPCIProxy parent_obj;
17
18 VirtIOGPUBase *vgpu;
19 VGACommonState vga;
20 MemoryRegion vga_mrs[3];
21 };
22
23 struct VirtIOVGABaseClass {
24 VirtioPCIClass parent_class;
25
26 DeviceReset parent_reset;
27 };
28
29 #endif /* VIRTIO_VGA_H */