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

Open
github-bot wants to merge 1 commit from github-bot/gh-304 into main AGit
Owner

@⁠Andretuta on GitHub · 2026-11-24 03:04 UTC · original
ubiquitarianism:old-pr/10038 → main · +33 −25 · 2 files · 1 commits · draft

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).

**@⁠Andretuta** on GitHub · 2026-11-24 03:04 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/304) `ubiquitarianism:old-pr/10038` → `main` · +33 −25 · 2 files · 1 commits · draft > 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:52:40 +00:00
This pull request has changes conflicting with the target branch.
  • docs/xcl_compare.md
  • docs/xmem_exe_calls.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/304/head:github-bot/gh-304'
git switch 'github-bot/gh-304'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-304'
git switch 'github-bot/gh-304'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-304'
git switch 'github-bot/gh-304'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-304'
git switch 'main'
git merge --squash 'github-bot/gh-304'
git switch 'main'
git merge --ff-only 'github-bot/gh-304'
git switch 'main'
git merge 'github-bot/gh-304'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.