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.
130 lines
9.8 KiB
JSON
130 lines
9.8 KiB
JSON
# interplay_lifetime_function_swapped: A compute pipeline made again from the same record over a function made again from a new one. The guest points the function's entry at another metallib (add_one where double_gid was): with the function and the pipeline live nothing changes; after the function's delete (40, operation 1005) alone the live pipeline still runs double_gid; after the pipeline's delete (1006) too, the next dispatch makes the pipeline again, which makes the function again from its new entry, and add_one runs.
|
|
{"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": "0x40014000", "hex": "06000180", "op": "mem"}
|
|
{"gpa": "0x40014004", "hex": "07000180", "op": "mem"}
|
|
{"gpa": "0x40014008", "hex": "08000180", "op": "mem"}
|
|
{"gpa": "0x4001400c", "hex": "09000180", "op": "mem"}
|
|
{"gpa": "0x40014010", "hex": "0a000180", "op": "mem"}
|
|
{"gpa": "0x40014014", "hex": "0b000180", "op": "mem"}
|
|
{"gpa": "0x40014018", "hex": "0c000180", "op": "mem"}
|
|
{"gpa": "0x4001401c", "hex": "0d000180", "op": "mem"}
|
|
{"gpa": "0x40014020", "hex": "0e000180", "op": "mem"}
|
|
{"gpa": "0x40014024", "hex": "0f000180", "op": "mem"}
|
|
{"gpa": "0x40014028", "hex": "10000180", "op": "mem"}
|
|
{"gpa": "0x4001402c", "hex": "11000180", "op": "mem"}
|
|
{"gpa": "0x40014030", "hex": "12000180", "op": "mem"}
|
|
{"gpa": "0x40014034", "hex": "13000180", "op": "mem"}
|
|
{"gpa": "0x40014038", "hex": "14000180", "op": "mem"}
|
|
{"gpa": "0x4001403c", "hex": "15000180", "op": "mem"}
|
|
{"gpa": "0x40014040", "hex": "16000180", "op": "mem"}
|
|
{"gpa": "0x40014044", "hex": "17000180", "op": "mem"}
|
|
{"gpa": "0x40014048", "hex": "18000180", "op": "mem"}
|
|
{"gpa": "0x4001404c", "hex": "19000180", "op": "mem"}
|
|
{"gpa": "0x40014050", "hex": "1a000180", "op": "mem"}
|
|
{"gpa": "0x40014054", "hex": "1b000180", "op": "mem"}
|
|
{"gpa": "0x40014058", "hex": "1c000180", "op": "mem"}
|
|
{"gpa": "0x4001405c", "hex": "1d000180", "op": "mem"}
|
|
{"gpa": "0x40014060", "hex": "1e000180", "op": "mem"}
|
|
{"gpa": "0x40014064", "hex": "1f000180", "op": "mem"}
|
|
{"gpa": "0x40014068", "hex": "20000180", "op": "mem"}
|
|
{"gpa": "0x4001406c", "hex": "21000180", "op": "mem"}
|
|
{"gpa": "0x40014070", "hex": "22000180", "op": "mem"}
|
|
{"gpa": "0x40014074", "hex": "23000180", "op": "mem"}
|
|
{"gpa": "0x40014078", "hex": "24000180", "op": "mem"}
|
|
{"gpa": "0x4001407c", "hex": "25000180", "op": "mem"}
|
|
{"gpa": "0x40014080", "hex": "26000180", "op": "mem"}
|
|
{"gpa": "0x40014084", "hex": "27000180", "op": "mem"}
|
|
{"gpa": "0x40014088", "hex": "28000180", "op": "mem"}
|
|
{"gpa": "0x4001408c", "hex": "29000180", "op": "mem"}
|
|
{"gpa": "0x40014090", "hex": "2a000180", "op": "mem"}
|
|
{"gpa": "0x40014094", "hex": "2b000180", "op": "mem"}
|
|
{"gpa": "0x40014098", "hex": "2c000180", "op": "mem"}
|
|
{"gpa": "0x4001409c", "hex": "2d000180", "op": "mem"}
|
|
{"gpa": "0x400140a0", "hex": "2e000180", "op": "mem"}
|
|
{"gpa": "0x400140a4", "hex": "2f000180", "op": "mem"}
|
|
{"gpa": "0x400140a8", "hex": "30000180", "op": "mem"}
|
|
{"gpa": "0x400140ac", "hex": "31000180", "op": "mem"}
|
|
{"gpa": "0x400140b0", "hex": "32000180", "op": "mem"}
|
|
{"gpa": "0x400140b4", "hex": "33000180", "op": "mem"}
|
|
{"gpa": "0x400140b8", "hex": "34000180", "op": "mem"}
|
|
{"gpa": "0x400140bc", "hex": "35000180", "op": "mem"}
|
|
{"gpa": "0x400140c0", "hex": "36000180", "op": "mem"}
|
|
{"gpa": "0x400140c4", "hex": "37000180", "op": "mem"}
|
|
{"gpa": "0x400140c8", "hex": "38000180", "op": "mem"}
|
|
{"gpa": "0x400140cc", "hex": "39000180", "op": "mem"}
|
|
{"gpa": "0x400140d0", "hex": "3a000180", "op": "mem"}
|
|
{"gpa": "0x400140d4", "hex": "3b000180", "op": "mem"}
|
|
{"gpa": "0x400140d8", "hex": "3c000180", "op": "mem"}
|
|
{"gpa": "0x400140dc", "hex": "3d000180", "op": "mem"}
|
|
{"gpa": "0x400140e0", "hex": "3e000180", "op": "mem"}
|
|
{"gpa": "0x400140e4", "hex": "3f000180", "op": "mem"}
|
|
{"gpa": "0x400140e8", "hex": "40000180", "op": "mem"}
|
|
{"gpa": "0x400140ec", "hex": "41000180", "op": "mem"}
|
|
{"gpa": "0x400140f0", "hex": "42000180", "op": "mem"}
|
|
{"gpa": "0x400140f4", "hex": "43000180", "op": "mem"}
|
|
{"gpa": "0x400140f8", "hex": "44000180", "op": "mem"}
|
|
{"gpa": "0x400140fc", "hex": "45000180", "op": "mem"}
|
|
{"gpa": "0x40014100", "hex": "46000180", "op": "mem"}
|
|
{"gpa": "0x40014104", "hex": "47000180", "op": "mem"}
|
|
{"gpa": "0x40014108", "hex": "48000180", "op": "mem"}
|
|
{"gpa": "0x4001410c", "hex": "49000180", "op": "mem"}
|
|
{"gpa": "0x40014110", "hex": "4a000180", "op": "mem"}
|
|
{"gpa": "0x40014114", "hex": "4b000180", "op": "mem"}
|
|
{"gpa": "0x40014118", "hex": "4c000180", "op": "mem"}
|
|
{"gpa": "0x4001411c", "hex": "4d000180", "op": "mem"}
|
|
{"gpa": "0x40014120", "hex": "4e000180", "op": "mem"}
|
|
{"gpa": "0x40014124", "hex": "4f000180", "op": "mem"}
|
|
{"gpa": "0x40014128", "hex": "50000180", "op": "mem"}
|
|
{"gpa": "0x4001412c", "hex": "51000180", "op": "mem"}
|
|
{"gpa": "0x40014130", "hex": "52000180", "op": "mem"}
|
|
{"gpa": "0x40014134", "hex": "53000180", "op": "mem"}
|
|
{"gpa": "0x40014138", "hex": "54000180", "op": "mem"}
|
|
{"gpa": "0x4001413c", "hex": "55000180", "op": "mem"}
|
|
{"gpa": "0x40010000", "hex": "05000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"file": "shaders/kernel.metallib", "gpa": "0x40038000", "op": "mem_file", "sha256": "52f96907c245aafe9287e95deb4d7d9535fc6d522364a8c25b41d20bad81ad2c"}
|
|
{"gpa": "0x4001c000", "hex": "0000020000000000a00d00000f00000000000000", "op": "mem"}
|
|
{"gpa": "0x4001c020", "hex": "0b00000000000000000000000700000001000401000000", "op": "mem"}
|
|
{"file": "shaders/compute_add.metallib", "gpa": "0x4003c000", "op": "mem_file", "sha256": "327d4cb174a80957ac4d00051457ba1f3fbb656c8637c7198b662eaf432b6c4a"}
|
|
{"gpa": "0x40040000", "hex": "6400000065000000660000006700000068000000690000006a0000006b0000006c0000006d0000006e0000006f00000070000000710000007200000073000000", "op": "mem"}
|
|
{"gpa": "0x4001c040", "hex": "00400000000000000a00000000000000", "op": "mem"}
|
|
{"gpa": "0x4001c050", "hex": "00400000000000000b00000000000000", "op": "mem"}
|
|
{"gpa": "0x40008400", "hex": "380000001c0000000100000002000000000014000000000004000100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x1c"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40018000", "hex": "000000000000000000000000061400000040000000000000071700002040000000000000011000004040000000000000011000005040000000000000", "op": "mem"}
|
|
{"gpa": "0x4000841c", "hex": "33000000180000000200000001000000000000003c000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x34"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40028000", "hex": "7400000001000000d00000000c00000002000000cb000000280000000000000002000000040000000000000000000000030000000000000000000000ca00000038000000100000000000000001000000000000000100000000000000100000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x40008434", "hex": "4300000038000000030000000100000002000000010000000400000000000000030000000000000000000100000000007400000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x6c"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "double_gid", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4001c060", "hex": "00400200000000000d0e00000f00000000000000", "op": "mem"}
|
|
{"gpa": "0x4001800c", "hex": "061400006040000000000000", "op": "mem"}
|
|
{"gpa": "0x40028100", "hex": "7400000001000000d00000000c00000002000000cb000000280000000000000002000000040000004000000000000000030000000000000000000000ca00000038000000100000000000000001000000000000000100000000000000100000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x4000846c", "hex": "4300000038000000040000000100000002000000010000000400000000000000030000000000000000010100000000007400000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xa4"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "the function's entry rewritten, both live", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x400084a4", "hex": "280000001c0000000500000001000000ed0300000c00000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xc0"}
|
|
{"ge": "0x5", "gpa": "0x40008000", "label": "40, operation 1005: the function", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40028200", "hex": "7400000001000000d00000000c00000002000000cb000000280000000000000002000000040000008000000000000000030000000000000000000000ca00000038000000100000000000000001000000000000000100000000000000100000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x400084c0", "hex": "4300000038000000060000000100000002000000010000000400000000000000030000000000000000020100000000007400000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xf8"}
|
|
{"ge": "0x6", "gpa": "0x40008000", "label": "the function deleted, the pipeline live", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x400084f8", "hex": "280000001c0000000700000001000000ee0300000c00000002000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x114"}
|
|
{"ge": "0x7", "gpa": "0x40008000", "label": "40, operation 1006: the pipeline", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40028300", "hex": "7400000001000000d00000000c00000002000000cb00000028000000000000000200000004000000c000000000000000030000000000000000000000ca00000038000000100000000000000001000000000000000100000000000000100000000000000001000000000000000100000000000000", "op": "mem"}
|
|
{"gpa": "0x40008514", "hex": "4300000038000000080000000100000002000000010000000400000000000000030000000000000000030100000000007400000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x14c"}
|
|
{"ge": "0x8", "gpa": "0x40008000", "label": "the pipeline deleted too", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40044000", "label": "results", "len": "0x100", "op": "dump"}
|
|
{"label": "end", "op": "events"}
|