Files
reims-vgpu/tests/suite/generated/device_barriers/device_barriers_basic.jsonl
T
Anees Iqbal 98fe2a3bd5 🆕 Replace the tree with libreims_vgpu and its C API
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.
2026-10-11 20:27:17 +03:00

64 lines
4.4 KiB
JSON

# device_barriers_basic: A barrier already satisfied passes at once; one on a stamp not yet reached blocks its FIFO until another FIFO publishes it; a barrier index of 64 (maxFIFOCount at 245) faults the command with "Invalid stamp index"; the root FIFO can wait on a child.
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 3, "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": "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": "0x40018000", "hex": "0700010000000000", "op": "mem"}
{"gpa": "0x40004414", "hex": "00000000", "op": "mem"}
{"gpa": "0x40004420", "hex": "0200", "op": "mem"}
{"gpa": "0x40004424", "hex": "06000100", "op": "mem"}
{"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": "0x4001c000", "hex": "1e0000000c00000001000000", "op": "mem"}
{"gpa": "0x40004414", "hex": "0c000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
{"ge": "0x1", "gpa": "0x40008008", "label": "stamp 1 on FIFO 2", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40014000", "hex": "1e00010014000000010000000200000001000000", "op": "mem"}
{"gpa": "0x40004400", "hex": "14000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
{"ge": "0x1", "gpa": "0x40008004", "label": "satisfied barrier", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40014014", "hex": "1e00010014000000020000000200000003000000", "op": "mem"}
{"gpa": "0x40004400", "hex": "28000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
{"ge": "0x2", "gpa": "0x40008004", "label": "blocked on 2:3", "op": "wait", "timeout_ms": 300}
{"gpa": "0x4001c00c", "hex": "1e0000000c00000002000000", "op": "mem"}
{"gpa": "0x40004414", "hex": "18000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
{"ge": "0x2", "gpa": "0x40008008", "label": "stamp 2 on FIFO 2", "op": "wait", "timeout_ms": 5000}
{"ge": "0x2", "gpa": "0x40008004", "label": "still blocked on 2:3", "op": "wait", "timeout_ms": 300}
{"gpa": "0x4001c018", "hex": "1e0000000c00000003000000", "op": "mem"}
{"gpa": "0x40004414", "hex": "24000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
{"ge": "0x3", "gpa": "0x40008008", "label": "stamp 3 on FIFO 2", "op": "wait", "timeout_ms": 5000}
{"ge": "0x2", "gpa": "0x40008004", "label": "released at 2:3", "op": "wait", "timeout_ms": 5000}
{"label": "child barriers", "op": "events"}
{"gpa": "0x40008420", "hex": "1e00010014000000030000000100000003000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x34"}
{"ge": "0x3", "gpa": "0x40008000", "label": "root blocked on 1:3", "op": "wait", "timeout_ms": 300}
{"gpa": "0x40014028", "hex": "1e0000000c00000003000000", "op": "mem"}
{"gpa": "0x40004400", "hex": "34000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
{"ge": "0x3", "gpa": "0x40008004", "label": "stamp 3 on FIFO 1", "op": "wait", "timeout_ms": 5000}
{"ge": "0x3", "gpa": "0x40008000", "label": "root released", "op": "wait", "timeout_ms": 5000}
{"label": "root barrier", "op": "events"}
{"gpa": "0x40014034", "hex": "1e00010014000000040000004000000000000000", "op": "mem"}
{"gpa": "0x40004400", "hex": "48000000", "op": "mem"}
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
{"gpa": "0x40004408", "label": "barrier index 64", "ne": "0xffffffff", "op": "wait", "timeout_ms": 5000}
{"label": "barrier index 64: 0x102c", "mmio": "0x102c", "mmio_ne": "0x0", "op": "wait", "timeout_ms": 5000}
{"off": "0x102c", "op": "mmio_r"}
{"gpa": "0x40004400", "label": "child 1's node after the fault", "len": "0x14", "op": "dump"}
{"label": "index 64", "op": "events"}
{"gpa": "0x40008000", "label": "stamp slots", "len": "0xc", "op": "dump"}