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.
46 lines
13 KiB
JSON
46 lines
13 KiB
JSON
# iosfc_surface_options_v2: Descriptor fields that reach the IOSurface: a nonzero offset (test writes from the base minus the offset), read-only (the surface is made with client direction 2), planes, v1 descriptors with a read-only bit. Each map's status and each test's writes into guest memory are locked.
|
|
{"iosfc": true, "op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_slots": 2, "watchdog_s": 30}
|
|
{"off": "0x1030", "op": "iosfc_w", "val": "0x1"}
|
|
{"off": "0x1010", "op": "iosfc_w", "val": "0x4000c000"}
|
|
{"off": "0x1000", "op": "iosfc_w", "val": "0x40008000"}
|
|
{"off": "0x1008", "op": "iosfc_w", "val": "0x400"}
|
|
{"gpa": "0x40010000", "hex": "15000400", "op": "mem"}
|
|
{"gpa": "0x4000c000", "hex": "19000400", "op": "mem"}
|
|
{"gpa": "0x40018400", "hex": "11000400415247420001000000000000000000000000000000020000000000001000000000000000080000000000000040000000000000000400000001010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x4001c000", "hex": "21000400", "op": "mem"}
|
|
{"gpa": "0x40018800", "hex": "1d000400415247420000000000000000000000000000000000020000000000001000000000000000080000000000000040000000000000000400000001010000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40024000", "hex": "29000400", "op": "mem"}
|
|
{"gpa": "0x40018c00", "hex": "25000400415247420000000000000000000000000000000000020000000000001000000000000000080000000000000040000000000000000400000001010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000100000000000000008000000000000004000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x4002c000", "hex": "31000400", "op": "mem"}
|
|
{"gpa": "0x40019000", "hex": "2d000400415247420000000000000000000000000000000000040000000000001000000000000000080000000000000040000000000000000400000001010200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000100000000000000008000000000000004000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000800000000000000008000000000000000400000000000000200000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40034000", "hex": "39000400", "op": "mem"}
|
|
{"gpa": "0x40019400", "hex": "35000400416847520000000000000000000000000000000000040000000000001000000000000000080000000000000080000000000000000800000001010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"gpa": "0x40008000", "hex": "0100000001000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008010", "hex": "0300000001000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008020", "hex": "0100000002000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008030", "hex": "0300000002000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008040", "hex": "0100000003000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008050", "hex": "0300000003000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008060", "hex": "0100000004000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008070", "hex": "0300000004000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008080", "hex": "0100000005000000efbead7e00000000", "op": "mem"}
|
|
{"gpa": "0x40008090", "hex": "0300000005000000efbead7e00000000", "op": "mem"}
|
|
{"off": "0x1018", "op": "iosfc_w", "val": "0xa"}
|
|
{"iosfc_irqs": 10, "label": "iosfc irqs 10", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40008000", "label": "offset 256", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40008010", "label": "offset 256", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40014000", "label": "offset 256", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008020", "label": "read-only", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40008030", "label": "read-only", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40020000", "label": "read-only", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008040", "label": "one plane", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40008050", "label": "one plane", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40028000", "label": "one plane", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008060", "label": "two planes", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40008070", "label": "two planes", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40030000", "label": "two planes", "len": "0x4000", "op": "diff"}
|
|
{"gpa": "0x40008080", "label": "RGBA 8 bytes a pixel", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40008090", "label": "RGBA 8 bytes a pixel", "len": "0x10", "op": "dump"}
|
|
{"gpa": "0x40038000", "label": "RGBA 8 bytes a pixel", "len": "0x4000", "op": "diff"}
|
|
{"label": "end", "op": "events"}
|