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.
45 lines
3.2 KiB
JSON
45 lines
3.2 KiB
JSON
# device_root_page_teardown: A root page change with everything live on the old root: child FIFOs 1 and 2 (the FIFO teardown deletes each, zeroing the next node's page list word), a task (its word stays), and a display shared state page on port 0 (its word is cleared while running). The new root starts empty.
|
|
{"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": "0x40010000", "hex": "0500010000000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x4000440c", "hex": "0100", "op": "mem"}
|
|
{"gpa": "0x40004410", "hex": "04000100", "op": "mem"}
|
|
{"gpa": "0x40018000", "hex": "0700010000000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x40004420", "hex": "0200", "op": "mem"}
|
|
{"gpa": "0x40004424", "hex": "06000100", "op": "mem"}
|
|
{"gpa": "0x40004438", "hex": "efbeadde", "op": "mem"}
|
|
{"gpa": "0x40008400", "hex": "30000000100000000100000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x10"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40008410", "hex": "30000000100000000200000002000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x20"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40014000", "hex": "1e0000000c00000001000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "0c000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
|
|
{"ge": "0x1", "gpa": "0x40008004", "label": "stamp 1 on FIFO 1", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4002c000", "hex": "09000180", "op": "mem"}
|
|
{"gpa": "0x4002c004", "hex": "0a000180", "op": "mem"}
|
|
{"gpa": "0x40020000", "hex": "0b000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40008420", "hex": "380000001c0000000300000002000000008000000000000008000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x3c"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4000843c", "hex": "010000001400000004000000000000000c000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x50"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "children, a task and a display page", "op": "events"}
|
|
{"gpa": "0x40004000", "label": "the old root in use", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008000", "label": "the rest", "len": "0x100000", "op": "diff"}
|
|
{"off": "0x101c", "op": "mmio_w", "val": "0x1000d"}
|
|
{"label": "the root page changed", "op": "events"}
|
|
{"from": "0x1000", "label": "on the new root", "op": "mmio_sweep", "step": 4, "to": "0x1040"}
|
|
{"gpa": "0x40004000", "label": "the old root after the change", "len": "0x4000", "op": "diff"}
|
|
{"label": "the rest after the change", "op": "diff"}
|