diff options
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r-- | hw/display/qxl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h index d2d49dd93..2ddf065e1 100644 --- a/hw/display/qxl.h +++ b/hw/display/qxl.h @@ -1,5 +1,5 @@ #ifndef HW_QXL_H -#define HW_QXL_H +#define HW_QXL_H 1 #include "qemu-common.h" @@ -53,8 +53,7 @@ typedef struct PCIQXLDevice { struct guest_slots { QXLMemSlot slot; - MemoryRegion *mr; - uint64_t offset; + void *ptr; uint64_t size; uint64_t delta; uint32_t active; @@ -105,9 +104,9 @@ typedef struct PCIQXLDevice { #endif /* vram pci bar */ - uint64_t vram_size; + uint32_t vram_size; MemoryRegion vram_bar; - uint64_t vram32_size; + uint32_t vram32_size; MemoryRegion vram32_bar; /* io bar */ |