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.
21 lines
1.6 KiB
JSON
21 lines
1.6 KiB
JSON
# fifo_frame_partial_root: The root FIFO never waits inside a command: bytes are "available" while 0x1008 differs from the published read count, and that count moves only at dispatch. A doorbell covering only the header of a 40-byte NOP runs the whole NOP from the ring bytes past 0x1008, publishes its stamp, and leaves 0x100c past 0x1008; the FIFO then parses on, here into a command blocked on stamp slot 5.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 1, "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": "1e0000000c00000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xc"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4000840c", "hex": "1e000000280000000200000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40008434", "hex": "1e00010014000000030000000500000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x18"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "the whole NOP ran", "op": "wait", "timeout_ms": 5000}
|
|
{"mmio": "0x100c", "mmio_eq": "0x34", "op": "wait", "timeout_ms": 5000}
|
|
{"off": "0x100c", "op": "mmio_r"}
|
|
{"label": "no fault", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "no fault", "off": "0x103c", "op": "mmio_r"}
|
|
{"irq_stamps": true, "label": "header only", "op": "events"}
|