This repository now holds libreims_vgpu, a Rust library that is the host side of the paravirtualized GPU macOS guests drive, in place of Apple's ParavirtualizedGraphics.framework: the library and its C API (reims_vgpu.h), the PCI device's option ROM, QEMU's apple-gfx on that API (vendor/qemu), the behaviour-lock suite that drives the C API as QEMU does, and reims-ctl, the VM manager users run. README.md says what it is and how it is laid out, and AGENTS.md how to change it. Every file of the earlier tree is replaced. vendor/qemu moves to the steelbrain/reims-vgpu branch of the same public repository.
33 lines
2.8 KiB
JSON
33 lines
2.8 KiB
JSON
# display_properties: What the host reads of a display (its cursor position and present counts), and what the page shows of its config: the default name "Apple Virtual" (13 bytes), a 14-byte name (zero bytes in the page), a 13-byte UTF-8 name, sizes in mm rounded, the serial number. The cursor position is {0xffff, 0xffff} with no page, and the page's +0xe00 once connected.
|
|
{"descriptor": {"port_count": 4}, "displays": [{"modes": [[64, 32, 60]], "port": 0, "serial": 11}, {"mm": [123.4, 56.5], "modes": [[64, 32, 60]], "name": "fourteen bytes", "port": 1, "serial": 12}, {"mm": [0.4, 0.6], "modes": [[64, 32, 60]], "name": "\u00e9t\u00e9 \u00e0 Pari", "port": 2, "serial": 4294967295}, {"mm": [65535.4, 1], "modes": [[64, 32, 60]], "name": "", "port": 3, "serial": 0}], "op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 2, "watchdog_s": 30}
|
|
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
|
|
{"off": "0x101c", "op": "mmio_w", "val": "0x10001"}
|
|
{"off": "0x1030", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1004", "op": "mmio_w", "val": "0x8000"}
|
|
{"off": "0x1010", "op": "mmio_w", "val": "0x400"}
|
|
{"off": "0x1000", "op": "mmio_w", "val": "0x1"}
|
|
{"display": 0, "name": "display_props", "op": "api"}
|
|
{"display": 1, "name": "display_props", "op": "api"}
|
|
{"display": 2, "name": "display_props", "op": "api"}
|
|
{"display": 3, "name": "display_props", "op": "api"}
|
|
{"gpa": "0x40008400", "hex": "0100000014000000010000000000000004000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x14"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40008414", "hex": "0100000014000000020000000100000005000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x28"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40008428", "hex": "0100000014000000030000000200000006000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x3c"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4000843c", "hex": "0100000014000000040000000300000007000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x50"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40010000", "label": "port 0", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40014000", "label": "port 1", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40018000", "label": "port 2", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x4001c000", "label": "port 3", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40014e00", "hex": "10002000", "op": "mem"}
|
|
{"display": 1, "name": "cursorPosition", "op": "api"}
|
|
{"display": 0, "name": "cursorPosition", "op": "api"}
|
|
{"display": 0, "name": "present_counts", "op": "api"}
|