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

43 lines
4.7 KiB
JSON

# efi_trace_present: With trace callbacks, a valid framebuffer adds one trace range over height x stride rounded up to 16 KiB, and presents once; a trace_fire inside it presents again, one outside does not. The frame is a zero-copy view: a guest write shows in the next encode. Each later register write removes the range, and a valid result adds it again and presents.
{"descriptor": {"trace": true}, "displays": [{"modes": [[64, 32, 60]], "name": "suite", "port": 0, "serial": 1000}], "op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_slots": 2, "watchdog_s": 30}
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
{"gpa": "0x40008000", "hex": "000000ff010001ff020002ff030003ff040004ff050005ff060006ff070007ff080008ff090009ff0a000aff0b000bff0c000cff0d000dff0e000eff0f000fff000101ff010100ff020103ff030102ff040105ff050104ff060107ff070106ff080109ff090108ff0a010bff0b010aff0c010dff0d010cff0e010fff0f010eff000202ff010203ff020200ff030201ff040206ff050207ff060204ff070205ff08020aff09020bff0a0208ff0b0209ff0c020eff0d020fff0e020cff0f020dff000303ff010302ff020301ff030300ff040307ff050306ff060305ff070304ff08030bff09030aff0a0309ff0b0308ff0c030fff0d030eff0e030dff0f030cff000404ff010405ff020406ff030407ff040400ff050401ff060402ff070403ff08040cff09040dff0a040eff0b040fff0c0408ff0d0409ff0e040aff0f040bff000505ff010504ff020507ff030506ff040501ff050500ff060503ff070502ff08050dff09050cff0a050fff0b050eff0c0509ff0d0508ff0e050bff0f050aff000606ff010607ff020604ff030605ff040602ff050603ff060600ff070601ff08060eff09060fff0a060cff0b060dff0c060aff0d060bff0e0608ff0f0609ff000707ff010706ff020705ff030704ff040703ff050702ff060701ff070700ff08070fff09070eff0a070dff0b070cff0c070bff0d070aff0e0709ff0f0708ff", "op": "mem"}
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
{"off": "0x1214", "op": "mmio_w", "val": "0x8000"}
{"cb": "newFrame", "cb_count": 1, "op": "wait", "timeout_ms": 5000}
{"label": "first present", "op": "events"}
{"display": 0, "h": 8, "label": "first", "op": "encode", "w": 16}
{"display": 0, "name": "present_counts", "op": "api"}
{"gpa": "0x40008000", "hex": "800080ff810081ff820082ff830083ff840084ff850085ff860086ff870087ff880088ff890089ff8a008aff8b008bff8c008cff8d008dff8e008eff8f008fff800181ff810180ff820183ff830182ff840185ff850184ff860187ff870186ff880189ff890188ff8a018bff8b018aff8c018dff8d018cff8e018fff8f018eff800282ff810283ff820280ff830281ff840286ff850287ff860284ff870285ff88028aff89028bff8a0288ff8b0289ff8c028eff8d028fff8e028cff8f028dff800383ff810382ff820381ff830380ff840387ff850386ff860385ff870384ff88038bff89038aff8a0389ff8b0388ff8c038fff8d038eff8e038dff8f038cff800484ff810485ff820486ff830487ff840480ff850481ff860482ff870483ff88048cff89048dff8a048eff8b048fff8c0488ff8d0489ff8e048aff8f048bff800585ff810584ff820587ff830586ff840581ff850580ff860583ff870582ff88058dff89058cff8a058fff8b058eff8c0589ff8d0588ff8e058bff8f058aff800686ff810687ff820684ff830685ff840682ff850683ff860680ff870681ff88068eff89068fff8a068cff8b068dff8c068aff8d068bff8e0688ff8f0689ff800787ff810786ff820785ff830784ff840783ff850782ff860781ff870780ff88078fff89078eff8a078dff8b078cff8c078bff8d078aff8e0789ff8f0788ff", "op": "mem"}
{"display": 0, "h": 8, "label": "after a guest write, before any present", "op": "encode", "w": 16}
{"gpa": "0x40008010", "len": "0x4", "op": "trace_fire"}
{"cb": "newFrame", "cb_count": 2, "op": "wait", "timeout_ms": 5000}
{"gpa": "0x4000c010", "len": "0x4", "op": "trace_fire"}
{"gpa": "0x40007ffc", "len": "0x4", "op": "trace_fire"}
{"op": "quiesce", "quiet_ms": 100}
{"label": "trace fires", "op": "events"}
{"display": 0, "name": "present_counts", "op": "api"}
{"display": 0, "h": 8, "label": "after the fire", "op": "encode", "w": 16}
{"off": "0x1228", "op": "mmio_w", "val": "0x80"}
{"cb": "newFrame", "cb_count": 3, "op": "wait", "timeout_ms": 5000}
{"label": "stride 128", "op": "events"}
{"display": 0, "h": 8, "label": "stride 128", "op": "encode", "w": 16}
{"off": "0x121c", "op": "mmio_w", "val": "0x40008"}
{"cb": "newFrame", "cb_count": 4, "op": "wait", "timeout_ms": 5000}
{"label": "mode 8x4", "op": "events"}
{"display": 0, "h": 4, "label": "mode 8x4", "op": "encode", "w": 8}
{"display": 0, "name": "display_props", "op": "api"}
{"label": "end", "off": "0x1200", "op": "mmio_r"}
{"label": "end", "off": "0x1204", "op": "mmio_r"}
{"label": "end", "off": "0x120c", "op": "mmio_r"}
{"label": "end", "off": "0x1210", "op": "mmio_r"}
{"label": "end", "off": "0x1214", "op": "mmio_r"}
{"label": "end", "off": "0x1218", "op": "mmio_r"}
{"label": "end", "off": "0x121c", "op": "mmio_r"}
{"label": "end", "off": "0x1224", "op": "mmio_r"}
{"label": "end", "off": "0x1228", "op": "mmio_r"}