xcrdapi: export the 26100 XCrd surface and split DStorage X1/X2 #510
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/510"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-29T18:08:22Z.
What
The 26100 XCrd surface: 21 exports added to
xcrdapi.defand answered by the provider, including the factory/queue split (X1/X2), the information and streaming accessors, and the DStorage X1/X2 split. Unimplemented regions stay honest:E_NOTIMPLwith cleared outputs,FALSEfrom the predicates.runtime/xcrdapi/src/xcrd.rsserves the added entry points from local state; XVD mount, device enumeration, XCRD information and streaming regions remainE_NOTIMPL.tests/fixtures/xcrdapi-surface.jsonrecords our own declarations: exports and ordinals, the four interface identities, and the request offsets.tests/test_xcrdapi_abi.pychecks the.defagainst that fixture, reads the built DLL's export table, and asserts the interface identities and layout offsets, so drift fails the suite. It runs with no environment variables set.Verification
python build.py xcrdapi;python -m unittest tests.test_xcrdapi_abi— 4 passed.tuxbox.py verify --only xcrdapi --backend wine—PASS xcrdapi(xcrd=21 raw=16 zlib=16 guards=2 errors=2 cancellation=2 bc1=4 bc7=2 pages=3 autosubmit=64).python tuxbox.py check --no-gpu— 7/7.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T20:38:00Z.
Thanks, the exports and the X1/X2 split look fine in principle, and the layout check skipping when no reference is present is the right approach. It conflicts with
mainnow; could you rebase it?Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T21:11:43Z.
Thanks, this addresses what I raised. We're putting it through the full check on both of our cards with your other ready PRs now, and will merge it if it passes.