summary refs log tree commit diff stats
path: root/hw/display/apple-gfx.h
diff options
context:
space:
mode:
authorPhil Dennis-Jordan <phil@philjordan.eu>2024-07-15 23:06:57 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-31 21:21:34 +0100
commitb21f17cce561316f1eb1917a4ca660e65c75c420 (patch)
tree306c72916cab3698324f7a74b961db644edf46a5 /hw/display/apple-gfx.h
parent2352159c97a1fd245e998daafa08fcaaf57d4fa8 (diff)
downloadfocaccia-qemu-b21f17cce561316f1eb1917a4ca660e65c75c420.tar.gz
focaccia-qemu-b21f17cce561316f1eb1917a4ca660e65c75c420.zip
hw/display/apple-gfx: Adds PCI implementation
This change wires up the PCI variant of the paravirtualised
graphics device, mainly useful for x86-64 macOS guests, implemented
by macOS's ParavirtualizedGraphics.framework. It builds on code
shared with the vmapple/mmio variant of the PVG device.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241223221645.29911-4-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/display/apple-gfx.h')
-rw-r--r--hw/display/apple-gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/apple-gfx.h b/hw/display/apple-gfx.h
index 4cd4163f22..6c74209b36 100644
--- a/hw/display/apple-gfx.h
+++ b/hw/display/apple-gfx.h
@@ -14,6 +14,7 @@
 #include "ui/surface.h"
 
 #define TYPE_APPLE_GFX_MMIO         "apple-gfx-mmio"
+#define TYPE_APPLE_GFX_PCI          "apple-gfx-pci"
 
 @class PGDeviceDescriptor;
 @protocol PGDevice;