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.
34 lines
2.2 KiB
JSON
34 lines
2.2 KiB
JSON
# suspend_pause: pause quiesces and drains the FIFOs, pauses the guest displays and suppresses interrupts: stamps still land in guest memory and set 0x1018 bits, but raise nothing; unpause restarts the FIFOs and raises exactly one interrupt. A display page while paused: mode lists do not run the machine until unpause.
|
|
{"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}
|
|
{"label": "before", "op": "events"}
|
|
{"name": "pause", "op": "api"}
|
|
{"gpa": "0x40008428", "hex": "1e0000000c00000003000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x34"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "a NOP while paused", "op": "wait", "timeout_ms": 500}
|
|
{"display": 0, "modes": [[32, 16, 60]], "name": "set_modes", "op": "api"}
|
|
{"op": "quiesce", "quiet_ms": 100}
|
|
{"label": "paused", "op": "events"}
|
|
{"gpa": "0x40010000", "label": "paused", "len": "0x4000", "op": "diff"}
|
|
{"name": "unpause", "op": "api"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "unpaused", "op": "events"}
|
|
{"off": "0x1018", "op": "mmio_r"}
|
|
{"off": "0x1014", "op": "mmio_r"}
|
|
{"gpa": "0x40010000", "label": "unpaused", "len": "0x4000", "op": "diff"}
|
|
{"label": "again", "name": "pause", "op": "api"}
|
|
{"label": "again", "name": "unpause", "op": "api"}
|
|
{"label": "second pause", "op": "events"}
|