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.
52 lines
3.7 KiB
JSON
52 lines
3.7 KiB
JSON
# display_mode_fields: Each mode field is compared on its own: width, height, refresh (16.16, rounded), and the EDR and 10 bpc bits, which the defaults leave 0. Invalid modes (0 size) are nil and the runner drops them; the rest are written in order.
|
|
{"displays": [{"modes": [[64, 32, 60]], "name": "suite", "port": 0, "serial": 1000}], "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"}
|
|
{"gpa": "0x40010104", "hex": "0f000000", "op": "mem"}
|
|
{"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": "0200000014000000020000000000000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x28"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"display": 0, "label": "width", "modes": [[65, 32, 60]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "width", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "width", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008428", "hex": "0200000014000000030000000000000002000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x3c"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"display": 0, "label": "height", "modes": [[65, 33, 60]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "height", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "height", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x4000843c", "hex": "0200000014000000040000000000000003000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x50"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"display": 0, "label": "refresh", "modes": [[65, 33, 59.999]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "refresh", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "refresh", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008450", "hex": "0200000014000000050000000000000004000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x64"}
|
|
{"ge": "0x5", "gpa": "0x40008000", "label": "stamp 5 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"display": 0, "label": "zero sizes", "modes": [[0, 0, 60], [66, 33, 59.999]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "zero sizes", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "zero sizes", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008464", "hex": "0200000014000000060000000000000005000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x78"}
|
|
{"ge": "0x6", "gpa": "0x40008000", "label": "stamp 6 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"display": 0, "label": "fractional refresh", "modes": [[66, 33, 0.3333333333333333]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "fractional refresh", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "fractional refresh", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008478", "hex": "0200000014000000070000000000000006000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x8c"}
|
|
{"ge": "0x7", "gpa": "0x40008000", "label": "stamp 7 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "end", "op": "events"}
|