upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorAimLogin <4jt8mn8wjn@privaterelay.appleid.com>2026-11-22 10:25:02 +0100
committerAimLogin <4jt8mn8wjn@privaterelay.appleid.com>2026-11-22 11:08:53 +0100
commit62593f47ca3bfd9f68261292c19567da9f117daa (patch)
tree06b688e80f510792b168ebe8317abb29922168b4 /runtime/src/pe_loader.cpp
parentc0ac5fd6518b3ba9fa66765b8b07099990dadd74 (diff)
Runtime: Xbox-ABI proxies for the command queue and the fence (BUILD-231)
Device slots 8 (CreateCommandQueue), 75 (CreateCommandQueue1), 36 (CreateFence) and 32 (OpenSharedHandle of a fence) now return queue and fence proxies. They forward the public chain in PC order (19 queue slots, 11 or 12 fence slots), refuse and log a slot past it up to the end of the proxy's table, and name a read past the table through a guard region and a vectored handler. Heap, queue and fence proxies are unwrapped wherever a device or queue method hands them to the real runtime: queue Signal/Wait, device slots 31/34/35/45/46/50. Arrays are copied without exceptions. QueryInterface answers only the modelled interfaces, and logs one the real object has but the proxy does not model. Outputs are cleared on failure as for slots 14/62/76. --trace-d3d12 records proxy calls in the README grammar. Every function a thunk hands its words to keeps them in the same positions, because a title passes only as many as the method takes. Tests: queue_proxy_test (host WARP, host hardware, Vulkan device; differential per-process error cases, guard faults, identity, threads, raw-slot client, child-runner self-test), xs_proxy_mock_test (older devices, fences without Fence1, OpenSharedHandle branches, allocation failures; three guard-setup fault modes), and device_proxy_test through the D3D12XboxCreateDevice shim. No game files. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions