Files
reims-vgpu/tests/suite/generated/tasks_more/tasks_objects_private.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

100 lines
8.9 KiB
JSON

# tasks_objects_private: A private buffer is a copy, and a synchronize copies it out only when it needs one (Resource::needs_sync): guest-invalid and host-valid (section 4.10). In turn: a fill with the invalidate-host flag (the guest's contents are copied in first); SynchronizeResources (53); the guest rewrites its copy and InvalidateResources (52) marks the host copy stale before a fill and a synchronize; a fill with the synchronize flag; a fill with the invalidate-guest flag, after which SynchronizeAndDiscardResources (62) copies out every fill so far; a fill, DiscardResources (63) and 53; 52 setting host-valid and clearing guest-valid, then 53, which copies again. In-process, nothing reaches the guest page before the invalidate-guest fill. In the service a private buffer is a Shared detach buffer, so each fill lands at once (section 6.10). The guest page is dumped after each.
{"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": "0x40010000", "hex": "05000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40038000", "hex": "11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", "op": "mem"}
{"gpa": "0x4001c000", "hex": "00400000000000000800000001000000", "op": "mem"}
{"gpa": "0x40008400", "hex": "380000001c0000000100000002000000000004000000000004000100", "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": "000000000000000000000000011000000040000000000000", "op": "mem"}
{"gpa": "0x4000841c", "hex": "330000001800000002000000010000000000000018000000", "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": "280000000200000032010000200000000100000000000000000000001000000000000000a1000000", "op": "mem"}
{"gpa": "0x40008434", "hex": "430000003000000003000000010000000100000001000000010000000100000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x64"}
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after a fill with invalidate-host", "len": "0x40", "op": "dump"}
{"gpa": "0x40008464", "hex": "350000001800000004000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x7c"}
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after SynchronizeResources", "len": "0x40", "op": "dump"}
{"gpa": "0x40038030", "hex": "22222222222222222222222222222222", "op": "mem"}
{"gpa": "0x4000847c", "hex": "340000001c0000000500000001000000010000000100000001000001", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x98"}
{"ge": "0x5", "gpa": "0x40008000", "label": "stamp 5 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40028000", "hex": "280000000200000032010000200000000100000010000000000000001000000000000000a2000000", "op": "mem"}
{"gpa": "0x40008498", "hex": "430000003000000006000000010000000100000001000000010000000000000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xc8"}
{"ge": "0x6", "gpa": "0x40008000", "label": "stamp 6 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x400084c8", "hex": "350000001800000007000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xe0"}
{"ge": "0x7", "gpa": "0x40008000", "label": "stamp 7 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after invalidating the host copy, a fill, and a synchronize", "len": "0x40", "op": "dump"}
{"gpa": "0x40028000", "hex": "280000000200000032010000200000000100000020000000000000001000000000000000a3000000", "op": "mem"}
{"gpa": "0x400084e0", "hex": "430000003000000008000000010000000100000001000000010000000400000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x110"}
{"ge": "0x8", "gpa": "0x40008000", "label": "stamp 8 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after a fill with synchronize", "len": "0x40", "op": "dump"}
{"gpa": "0x40028000", "hex": "280000000200000032010000200000000100000000000000000000001000000000000000a4000000", "op": "mem"}
{"gpa": "0x40008510", "hex": "430000003000000009000000010000000100000001000000010000000200000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x140"}
{"ge": "0x9", "gpa": "0x40008000", "label": "stamp 9 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after a fill with invalidate-guest", "len": "0x40", "op": "dump"}
{"gpa": "0x40008540", "hex": "3e000000180000000a000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x158"}
{"ge": "0xa", "gpa": "0x40008000", "label": "stamp 10 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after SynchronizeAndDiscardResources", "len": "0x40", "op": "dump"}
{"gpa": "0x40028000", "hex": "280000000200000032010000200000000100000010000000000000001000000000000000a5000000", "op": "mem"}
{"gpa": "0x40008558", "hex": "43000000300000000b000000010000000100000001000000010000000000000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x188"}
{"ge": "0xb", "gpa": "0x40008000", "label": "stamp 11 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40008588", "hex": "3f000000180000000c000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1a0"}
{"ge": "0xc", "gpa": "0x40008000", "label": "stamp 12 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x400085a0", "hex": "35000000180000000d000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1b8"}
{"ge": "0xd", "gpa": "0x40008000", "label": "stamp 13 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after a fill, DiscardResources and a synchronize", "len": "0x40", "op": "dump"}
{"gpa": "0x400085b8", "hex": "340000001c0000000e00000001000000010000000100000000010100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1d4"}
{"ge": "0xe", "gpa": "0x40008000", "label": "stamp 14 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x400085d4", "hex": "35000000180000000f000000010000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1ec"}
{"ge": "0xf", "gpa": "0x40008000", "label": "stamp 15 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after setting host valid, clearing guest valid, and a synchronize", "len": "0x40", "op": "dump"}
{"gpa": "0x400085ec", "hex": "3c00000014000000100000000100000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x200"}
{"ge": "0x10", "gpa": "0x40008000", "label": "stamp 16 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40028000", "hex": "280000000200000032010000200000000100000030000000000000001000000000000000a6000000", "op": "mem"}
{"gpa": "0x40008600", "hex": "430000003000000011000000010000000100000001000000010000000400000000000100000000002800000000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x230"}
{"ge": "0x11", "gpa": "0x40008000", "label": "stamp 17 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40038000", "label": "after ReplacePhysical and a fill with synchronize", "len": "0x40", "op": "dump"}
{"gpa": "0x40008630", "hex": "20000000100000001200000001000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x240"}
{"ge": "0x12", "gpa": "0x40008000", "label": "stamp 18 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"label": "end", "op": "events"}