M1: reproduce Xbox-style reserved physical-page remapping as an isolated Windows fixture #16
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ProhorovIlja--NativeX-Runtime#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@ProhorovIlja on GitHub · 2026-11-21 21:42 UTC · original
Current Win32 memory alias PR #12 validates host reserve/commit/MapViewOfFile alias behavior. That is a prerequisite, not equivalence to Xbox XMem.
Source comparison: XCL physical mapping commit fd746622 records author-supplied logic for mapping/unmapping physical pages into reserved address regions and reuploading textures.
Follow-on gates
No game assets, undocumented Xbox binaries, or DRM work is part of this test.
@ProhorovIlja on GitHub · 2026-11-22 01:30 UTC · original
2026-11-22 native Windows CPU placeholder-page remapping achieved as an isolated source-built fixture; issue remains OPEN for console/GPU-specific semantics. PR #74 merged after CI 44971613467, which ran 40/40 Windows CTests with 0 failures (38 actual passes, 2 explicit device-related skips) and Linux source CI success. Actual Win32 x64 VirtualAlloc2(MEM_RESERVE_PLACEHOLDER) reserves four contiguous 64KiB virtual CPU slots, VirtualFree(PRESERVE_PLACEHOLDER) splits, MapViewOfFile3(REPLACE_PLACEHOLDER) maps two section-backed pages out of order, including same-backing aliases; UnmapViewOfFile2(PRESERVE_PLACEHOLDER) returns to reserved state, and 65,536-byte patterns persist through remap. Negative overlaps and improper sizing fail without corrupting nearby data. The same post-merge test also executes BC1 and BC3 GPU SRV texture pipeline differentials from PR #73. Outstanding for the full issue: actual Xbox XMem physical identity/page ABI, GPU access/coherency, dirty-page write-watch, multi-thread synchronization, guest page-table semantics and real hardware device performance; no game EXE or Rockstar files were used.