|
XenevaOS
|
#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | virtio_gpu_ctrl_hdr |
| struct | virtio_gpu_resource_create_2d |
| struct | virtio_gpu_resource_attach_backing |
| struct | virtio_gpu_rect |
| struct | virtio_gpu_set_scanout |
| struct | virtio_gpu_transfer_to_host_2d |
| struct | virtio_gpu_resource_flush |
| struct | virtio_gpu_config |
| struct | virtio_gpu_mem_entry |
| struct | _virtio_mmio_ |
| struct | _common_config_ |
| struct | virtio_pci_cap |
| struct | VirtioBuffer |
| struct | VirtioAvail |
| struct | VirtioRing |
| struct | VirtioUsed |
| struct | VirtioQueue |
Macros | |
| #define | VIRTIO_MAGIC_VALUE 0x74726976 |
| #define | VIRTIO_VENDOR_ID_QEMU 0x554D4551 |
| #define | VIRTIO_GPU_FLAG_FENCE (1<<0) |
| #define | VIRTIO_GPU_FLAG_INFO_RING_IDX (1<<1) |
| #define | VIRTIO_PCI_CAP_ID 0x09 |
| #define | VIRTIO_PCI_CAP_COMMON_CFG 1 |
| #define | VIRTIO_PCI_CAP_DEVICE_CFG 4 |
| #define | VIRTIO_STATUS_ACKNOWLEDGE 1 |
| #define | VIRTIO_STATUS_DRIVER 2 |
| #define | VIRTIO_STATUS_DRIVER_OK 4 |
| #define | VIRTIO_STATUS_FEATURES_OK 8 |
Typedefs | |
| typedef struct _virtio_mmio_ | VirtioMMIOHeader |
| typedef struct _common_config_ | virtio_common_config |
| #define VIRTIO_GPU_FLAG_FENCE (1<<0) |
| #define VIRTIO_GPU_FLAG_INFO_RING_IDX (1<<1) |
| #define VIRTIO_MAGIC_VALUE 0x74726976 |
BSD 2-Clause License
Copyright (c) 2022-2025, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| #define VIRTIO_PCI_CAP_COMMON_CFG 1 |
| #define VIRTIO_PCI_CAP_DEVICE_CFG 4 |
| #define VIRTIO_PCI_CAP_ID 0x09 |
| #define VIRTIO_STATUS_ACKNOWLEDGE 1 |
| #define VIRTIO_STATUS_DRIVER 2 |
| #define VIRTIO_STATUS_DRIVER_OK 4 |
| #define VIRTIO_STATUS_FEATURES_OK 8 |
| #define VIRTIO_VENDOR_ID_QEMU 0x554D4551 |
| typedef struct _common_config_ virtio_common_config |
| typedef struct _virtio_mmio_ VirtioMMIOHeader |
| enum virtio_gpu_ctrl_type |