docs: correct the retail XMem shim status (DOCS-XMEM-SHIMS) #304

Closed
Andretuta wants to merge 1 commit from upstream-pr/304 into main
Andretuta commented 2026-11-24 03:04:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T03:04:53Z.


Carried over from old PR 10038 by comigor in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10038, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
comigor: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

What

Bring the retail XMem call-site notes back in sync with the runtime:

  • All 12 measured imports now have shims; the page previously said seven were missing.
  • XMemVirtualAlloc accepts and records the measured nonzero attribute words rather than rejecting every call.
  • Describe the served 64 KiB, 2 MiB and placeholder allocation forms and the pagefile-backed physical-page pool.
  • Correct the related XCL comparison row, which still said the executable's imports were unavailable to measure.

This re-lands the documentation correction from closed, unmerged #8284 on current main; I checked the claims against runtime/shims/xmem.cpp and docs/runtime_imports.md.

Coordination item: DOCS-XMEM-SHIMS (#9677).

Tests

  • python -m pytest -q tests/test_docs_links.py tests/test_docs_repo_paths.py tests/test_docs_encoding.py tests/test_docs_env_vars.py — 15 tests and 91 subtests passed
  • git diff --check

Documentation only; no game data or GPU used. AI-assisted: yes (Kimi).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465301209 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/304). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T03:04:53Z. --- > Carried over from **old PR 10038** by `comigor` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10038`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `comigor`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): ## What Bring the retail XMem call-site notes back in sync with the runtime: - All 12 measured imports now have shims; the page previously said seven were missing. - `XMemVirtualAlloc` accepts and records the measured nonzero attribute words rather than rejecting every call. - Describe the served 64 KiB, 2 MiB and placeholder allocation forms and the pagefile-backed physical-page pool. - Correct the related XCL comparison row, which still said the executable's imports were unavailable to measure. This re-lands the documentation correction from closed, unmerged `#8284` on current `main`; I checked the claims against `runtime/shims/xmem.cpp` and `docs/runtime_imports.md`. Coordination item: **DOCS-XMEM-SHIMS** (`#9677`). ## Tests - `python -m pytest -q tests/test_docs_links.py tests/test_docs_repo_paths.py tests/test_docs_encoding.py tests/test_docs_env_vars.py` — 15 tests and 91 subtests passed - `git diff --check` Documentation only; no game data or GPU used. AI-assisted: yes (Kimi).
MoonEyes commented 2026-11-27 19:11:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T19:11:12Z.


Thanks a lot for carrying this over, @Andretuta (original work by comigor, old PR 10038). We checked and this change is already in main: it landed through #1794 (the same old PR 10038). The corrected XMem shim status in docs/xmem_exe_calls.md and docs/xcl_compare.md is in main, which has moved a bit further since. main notes that the pool is committed at once on Wine (and on demand on native Windows). It also says xcrdapi.dll!DStorageGetFactory is now served by dstorage.cpp (since 2d7be48de), where this branch still calls it unimplemented.

Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226275161 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/304#issuecomment-7226275161). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T19:11:12Z. --- Thanks a lot for carrying this over, @Andretuta (original work by `comigor`, old PR 10038). We checked and this change is already in `main`: it landed through #1794 (the same old PR 10038). The corrected XMem shim status in `docs/xmem_exe_calls.md` and `docs/xcl_compare.md` is in `main`, which has moved a bit further since. `main` notes that the pool is committed at once on Wine (and on demand on native Windows). It also says `xcrdapi.dll!DStorageGetFactory` is now served by `dstorage.cpp` (since 2d7be48de), where this branch still calls it unimplemented. Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed. AI-assisted (Claude Code, Claude Opus 5.5)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!304
No description provided.