mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
588 B
C
30 lines
588 B
C
#ifndef VIRTIO_VGA_H
|
|
#define VIRTIO_VGA_H
|
|
|
|
#include "hw/virtio/virtio-gpu-pci.h"
|
|
#include "vga_int.h"
|
|
#include "qom/object.h"
|
|
|
|
/*
|
|
* virtio-vga-base: This extends VirtioPCIProxy.
|
|
*/
|
|
#define TYPE_VIRTIO_VGA_BASE "virtio-vga-base"
|
|
OBJECT_DECLARE_TYPE(VirtIOVGABase, VirtIOVGABaseClass,
|
|
VIRTIO_VGA_BASE)
|
|
|
|
struct VirtIOVGABase {
|
|
VirtIOPCIProxy parent_obj;
|
|
|
|
VirtIOGPUBase *vgpu;
|
|
VGACommonState vga;
|
|
MemoryRegion vga_mrs[3];
|
|
};
|
|
|
|
struct VirtIOVGABaseClass {
|
|
VirtioPCIClass parent_class;
|
|
|
|
ResettablePhases parent_phases;
|
|
};
|
|
|
|
#endif /* VIRTIO_VGA_H */
|