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

Open
opened 2026-11-26 20:17:37 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/304
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/10038


📝 Commits (1)

  • 72c3806 docs: correct the retail XMem shim status

📊 Changes

2 files changed (+33 additions, -25 deletions)

View changed files

📝 docs/xcl_compare.md (+1 -1)
📝 docs/xmem_exe_calls.md (+32 -24)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/304 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/10038` --- ### 📝 Commits (1) - [`72c3806`](https://github.com/ubiquitarianism/leonida/commit/72c3806fdb92766911be8ab055c9bf47d7ae9776) docs: correct the retail XMem shim status ### 📊 Changes **2 files changed** (+33 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `docs/xcl_compare.md` (+1 -1) 📝 `docs/xmem_exe_calls.md` (+32 -24) </details> ### 📄 Description > 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). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#356
No description provided.