cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

virtio-vga.h (582B)


      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"
     12OBJECT_DECLARE_TYPE(VirtIOVGABase, VirtIOVGABaseClass,
     13                    VIRTIO_VGA_BASE)
     14
     15struct VirtIOVGABase {
     16    VirtIOPCIProxy parent_obj;
     17
     18    VirtIOGPUBase *vgpu;
     19    VGACommonState vga;
     20    MemoryRegion vga_mrs[3];
     21};
     22
     23struct VirtIOVGABaseClass {
     24    VirtioPCIClass parent_class;
     25
     26    DeviceReset parent_reset;
     27};
     28
     29#endif /* VIRTIO_VGA_H */