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.
22 lines
2.0 KiB
JSON
22 lines
2.0 KiB
JSON
# fifo_op_debug: Debug (0) needs one payload byte and NUL-terminates its last byte in the host's copy only: guest memory is unchanged. Payloads of 1, 2 and 255 bytes signal; the ring bytes are not rewritten.
|
|
{"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": "0x40008400", "hex": "000000000d0000000100000041", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xd"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "debug, 1 bytes: signalled", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "debug, 1 bytes", "off": "0x102c", "op": "mmio_r"}
|
|
{"gpa": "0x4000840d", "hex": "000000000e000000020000004142", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x1b"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "debug, 2 bytes: signalled", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "debug, 2 bytes", "off": "0x102c", "op": "mmio_r"}
|
|
{"gpa": "0x4000841b", "hex": "000000000b010000030000004142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455565758595a4142434445464748494a4b4c4d4e4f505152535455", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x126"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "debug, 255 bytes: signalled", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "debug, 255 bytes", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "the ring is unchanged; only the stamp slot moved", "op": "diff"}
|