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.
140 lines
11 KiB
JSON
140 lines
11 KiB
JSON
# interplay_fifo_compute_join: A diamond of add_one kernels over four FIFOs: the root computes A = S + 1; child 2 C = A + 1 (gated on the root); child 1 B = C + 1 (gated on child 2); child 3 runs D = B + 1 and E = C + 1 behind two barriers, on child 2 and then child 1, so it passes the first as child 2 publishes and blocks again on the second until child 1 does. Written child 3, child 1, child 2, root; released root, child 2, child 1, child 3. D = S + 4 and E = S + 3 prove every read came after its writer.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 4, "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": "0x40114000", "hex": "05000180", "op": "mem"}
|
|
{"gpa": "0x40114004", "hex": "06000180", "op": "mem"}
|
|
{"gpa": "0x40114008", "hex": "07000180", "op": "mem"}
|
|
{"gpa": "0x4011400c", "hex": "08000180", "op": "mem"}
|
|
{"gpa": "0x40114010", "hex": "09000180", "op": "mem"}
|
|
{"gpa": "0x40114014", "hex": "0a000180", "op": "mem"}
|
|
{"gpa": "0x40114018", "hex": "0b000180", "op": "mem"}
|
|
{"gpa": "0x4011401c", "hex": "0c000180", "op": "mem"}
|
|
{"gpa": "0x40114020", "hex": "0d000180", "op": "mem"}
|
|
{"gpa": "0x40114024", "hex": "0e000180", "op": "mem"}
|
|
{"gpa": "0x40114028", "hex": "0f000180", "op": "mem"}
|
|
{"gpa": "0x4011402c", "hex": "10000180", "op": "mem"}
|
|
{"gpa": "0x40114030", "hex": "11000180", "op": "mem"}
|
|
{"gpa": "0x40114034", "hex": "12000180", "op": "mem"}
|
|
{"gpa": "0x40114038", "hex": "13000180", "op": "mem"}
|
|
{"gpa": "0x4011403c", "hex": "14000180", "op": "mem"}
|
|
{"gpa": "0x40114040", "hex": "15000180", "op": "mem"}
|
|
{"gpa": "0x40114044", "hex": "16000180", "op": "mem"}
|
|
{"gpa": "0x40114048", "hex": "17000180", "op": "mem"}
|
|
{"gpa": "0x4011404c", "hex": "18000180", "op": "mem"}
|
|
{"gpa": "0x40114050", "hex": "19000180", "op": "mem"}
|
|
{"gpa": "0x40114054", "hex": "1a000180", "op": "mem"}
|
|
{"gpa": "0x40114058", "hex": "1b000180", "op": "mem"}
|
|
{"gpa": "0x4011405c", "hex": "1c000180", "op": "mem"}
|
|
{"gpa": "0x40114060", "hex": "1d000180", "op": "mem"}
|
|
{"gpa": "0x40114064", "hex": "1e000180", "op": "mem"}
|
|
{"gpa": "0x40114068", "hex": "1f000180", "op": "mem"}
|
|
{"gpa": "0x4011406c", "hex": "20000180", "op": "mem"}
|
|
{"gpa": "0x40114070", "hex": "21000180", "op": "mem"}
|
|
{"gpa": "0x40114074", "hex": "22000180", "op": "mem"}
|
|
{"gpa": "0x40114078", "hex": "23000180", "op": "mem"}
|
|
{"gpa": "0x4011407c", "hex": "24000180", "op": "mem"}
|
|
{"gpa": "0x40114080", "hex": "25000180", "op": "mem"}
|
|
{"gpa": "0x40114084", "hex": "26000180", "op": "mem"}
|
|
{"gpa": "0x40114088", "hex": "27000180", "op": "mem"}
|
|
{"gpa": "0x4011408c", "hex": "28000180", "op": "mem"}
|
|
{"gpa": "0x40114090", "hex": "29000180", "op": "mem"}
|
|
{"gpa": "0x40114094", "hex": "2a000180", "op": "mem"}
|
|
{"gpa": "0x40114098", "hex": "2b000180", "op": "mem"}
|
|
{"gpa": "0x4011409c", "hex": "2c000180", "op": "mem"}
|
|
{"gpa": "0x401140a0", "hex": "2d000180", "op": "mem"}
|
|
{"gpa": "0x401140a4", "hex": "2e000180", "op": "mem"}
|
|
{"gpa": "0x401140a8", "hex": "2f000180", "op": "mem"}
|
|
{"gpa": "0x401140ac", "hex": "30000180", "op": "mem"}
|
|
{"gpa": "0x401140b0", "hex": "31000180", "op": "mem"}
|
|
{"gpa": "0x401140b4", "hex": "32000180", "op": "mem"}
|
|
{"gpa": "0x401140b8", "hex": "33000180", "op": "mem"}
|
|
{"gpa": "0x401140bc", "hex": "34000180", "op": "mem"}
|
|
{"gpa": "0x401140c0", "hex": "35000180", "op": "mem"}
|
|
{"gpa": "0x401140c4", "hex": "36000180", "op": "mem"}
|
|
{"gpa": "0x401140c8", "hex": "37000180", "op": "mem"}
|
|
{"gpa": "0x401140cc", "hex": "38000180", "op": "mem"}
|
|
{"gpa": "0x401140d0", "hex": "39000180", "op": "mem"}
|
|
{"gpa": "0x401140d4", "hex": "3a000180", "op": "mem"}
|
|
{"gpa": "0x401140d8", "hex": "3b000180", "op": "mem"}
|
|
{"gpa": "0x401140dc", "hex": "3c000180", "op": "mem"}
|
|
{"gpa": "0x401140e0", "hex": "3d000180", "op": "mem"}
|
|
{"gpa": "0x401140e4", "hex": "3e000180", "op": "mem"}
|
|
{"gpa": "0x401140e8", "hex": "3f000180", "op": "mem"}
|
|
{"gpa": "0x401140ec", "hex": "40000180", "op": "mem"}
|
|
{"gpa": "0x401140f0", "hex": "41000180", "op": "mem"}
|
|
{"gpa": "0x401140f4", "hex": "42000180", "op": "mem"}
|
|
{"gpa": "0x401140f8", "hex": "43000180", "op": "mem"}
|
|
{"gpa": "0x401140fc", "hex": "44000180", "op": "mem"}
|
|
{"gpa": "0x40010000", "hex": "45000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40118000", "hex": "4700010000000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x4000440c", "hex": "0100", "op": "mem"}
|
|
{"gpa": "0x40004410", "hex": "46000100", "op": "mem"}
|
|
{"gpa": "0x40120000", "hex": "4900010000000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x40004420", "hex": "0200", "op": "mem"}
|
|
{"gpa": "0x40004424", "hex": "48000100", "op": "mem"}
|
|
{"gpa": "0x40128000", "hex": "4b00010000000000", "op": "mem"}
|
|
{"gpa": "0x40004428", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x40004434", "hex": "0300", "op": "mem"}
|
|
{"gpa": "0x40004438", "hex": "4a000100", "op": "mem"}
|
|
{"gpa": "0x40034000", "hex": "000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100000e0100000f010000100100001101000012010000130100001401000015010000160100001701000018010000190100001a0100001b0100001c0100001d0100001e0100001f010000200100002101000022010000230100002401000025010000260100002701000028010000290100002a0100002b0100002c0100002d0100002e0100002f010000300100003101000032010000330100003401000035010000360100003701000038010000390100003a0100003b0100003c0100003d0100003e0100003f010000", "op": "mem"}
|
|
{"gpa": "0x40018000", "hex": "00400000000000000800000000000000", "op": "mem"}
|
|
{"gpa": "0x40018010", "hex": "00400000000000000900000000000000", "op": "mem"}
|
|
{"gpa": "0x40018020", "hex": "00400000000000000a00000000000000", "op": "mem"}
|
|
{"gpa": "0x40018030", "hex": "00400000000000000b00000000000000", "op": "mem"}
|
|
{"gpa": "0x40018040", "hex": "00400000000000000c00000000000000", "op": "mem"}
|
|
{"gpa": "0x40018050", "hex": "00400000000000000d00000000000000", "op": "mem"}
|
|
{"file": "shaders/compute_add.metallib", "gpa": "0x4004c000", "op": "mem_file", "sha256": "327d4cb174a80957ac4d00051457ba1f3fbb656c8637c7198b662eaf432b6c4a"}
|
|
{"gpa": "0x40018060", "hex": "00800300000000000d0e00000f00000000000000", "op": "mem"}
|
|
{"gpa": "0x40018080", "hex": "0b00000000000000000000000700000001000407000000", "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": "0x40008420", "hex": "30000000100000000300000003000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x30"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40008430", "hex": "380000001c0000000400000002000000000010000000000004000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x4c"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40014000", "hex": "000000000000000000000000011000000040000000000000011000001040000000000000011000002040000000000000011000003040000000000000011000004040000000000000011000005040000000000000061400006040000000000000071700008040000000000000", "op": "mem"}
|
|
{"gpa": "0x4000844c", "hex": "33000000180000000500000001000000000000006c000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x64"}
|
|
{"ge": "0x5", "gpa": "0x40008000", "label": "stamp 5 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40024000", "hex": "7400000001000000d00000000c00000008000000cb000000280000000000000002000000050000000000000000000000030000000000000000000000ca00000038000000400000000000000001000000000000000100000000000000400000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x40024100", "hex": "7400000001000000d00000000c00000008000000cb000000280000000000000002000000060000000000000000000000040000000000000000000000ca00000038000000400000000000000001000000000000000100000000000000400000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x4012c000", "hex": "430002007800000001000000020000000100000001000000010000000100000006000000020000000100000000000000020000000000000003000000000000000400000000000000050000000000000006000000000000000000010000000000740000000000000000010100000000007400000000000000", "op": "mem"}
|
|
{"gpa": "0x40004428", "hex": "78000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x3"}
|
|
{"gpa": "0x40024200", "hex": "7400000001000000d00000000c00000008000000cb000000280000000000000002000000030000000000000000000000040000000000000000000000ca00000038000000400000000000000001000000000000000100000000000000400000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x4011c000", "hex": "430001006000000001000000020000000100000001000000060000000100000001000000000000000200000000000000030000000000000004000000000000000500000000000000060000000000000000020100000000007400000000000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "60000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
|
|
{"gpa": "0x40024300", "hex": "7400000001000000d00000000c00000008000000cb000000280000000000000002000000040000000000000000000000020000000000000000000000ca00000038000000400000000000000001000000000000000100000000000000400000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x40124000", "hex": "430001006000000001000000000000000600000001000000060000000100000001000000000000000200000000000000030000000000000004000000000000000500000000000000060000000000000000030100000000007400000000000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "60000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
|
|
{"ge": "0x1", "gpa": "0x4000800c", "label": "child 3 blocked", "op": "wait", "timeout_ms": 300}
|
|
{"ge": "0x1", "gpa": "0x40008004", "label": "child 1 blocked", "op": "wait", "timeout_ms": 100}
|
|
{"ge": "0x1", "gpa": "0x40008008", "label": "child 2 blocked", "op": "wait", "timeout_ms": 100}
|
|
{"label": "defined; three children blocked", "op": "events"}
|
|
{"gpa": "0x40024400", "hex": "7400000001000000d00000000c00000008000000cb000000280000000000000002000000020000000000000000000000010000000000000000000000ca00000038000000400000000000000001000000000000000100000000000000400000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x40008464", "hex": "43000000580000000600000001000000060000000100000001000000000000000200000000000000030000000000000004000000000000000500000000000000060000000000000000040100000000007400000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xbc"}
|
|
{"ge": "0x1", "gpa": "0x4000800c", "label": "stamp 1 on FIFO 3", "op": "wait", "timeout_ms": 5000}
|
|
{"irq_stamps": true, "label": "root, child 2, child 1, child 3", "op": "events", "order": true}
|
|
{"gpa": "0x40038000", "label": "A", "len": "0x104", "op": "dump"}
|
|
{"gpa": "0x4003c000", "label": "B", "len": "0x104", "op": "dump"}
|
|
{"gpa": "0x40040000", "label": "C", "len": "0x104", "op": "dump"}
|
|
{"gpa": "0x40044000", "label": "D", "len": "0x104", "op": "dump"}
|
|
{"gpa": "0x40048000", "label": "E", "len": "0x104", "op": "dump"}
|
|
{"gpa": "0x40008000", "label": "stamp slots", "len": "0x10", "op": "dump"}
|