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.
27 lines
1.4 KiB
JSON
27 lines
1.4 KiB
JSON
# efi_mode_select: Mode select indexes the display's mode list: 0x120c reads w | h << 16 of the selected mode, 0xffffffff past the end; the index resets to 0 when the display is bound. With no display, the count is 0 and every index is past the end.
|
|
{"displays": [{"modes": [[64, 32, 60], [800, 600, 60], [16384, 16384, 30]], "name": "suite", "port": 0, "serial": 1000}], "op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_slots": 2, "watchdog_s": 30}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0x0"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0x2"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0x3"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0xffffffff"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"off": "0x1208", "op": "mmio_w", "val": "0x0"}
|
|
{"off": "0x1204", "op": "mmio_r"}
|
|
{"off": "0x120c", "op": "mmio_r"}
|
|
{"display": 0, "modes": [[320, 200, 70]], "name": "set_modes", "op": "api"}
|
|
{"label": "after a new list", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "after a new list", "off": "0x120c", "op": "mmio_r"}
|