upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCh1mpleo <vietanh051203@gmail.com>2026-11-26 02:38:11 +0700
committerCh1mpleo <vietanh051203@gmail.com>2026-11-26 02:38:11 +0700
commitebaa5e2e60c2b17af92ad60ab79e5e302c502fc5 (patch)
tree5f3f96fe766563dc7fa416c7be508ec2fccb6296 /docs
parent9de343a7cee6d8360b0bd98f7c6cbf3135769a62 (diff)
docs: update DStorageGetFactory binding status and Wine commit-at-once note
Diffstat (limited to 'docs')
-rw-r--r--docs/xcl_compare.md2
-rw-r--r--docs/xmem_exe_calls.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/xcl_compare.md b/docs/xcl_compare.md
index 0125e4298..cd7a0b6a0 100644
--- a/docs/xcl_compare.md
+++ b/docs/xcl_compare.md
@@ -71,5 +71,5 @@ What the differences come down to:
71| XUser, XGameSave folder | #279 and #3363 (open). | 71| XUser, XGameSave folder | #279 and #3363 (open). |
72| `XAudio2Create` | RT-197, #3831 (open). | 72| `XAudio2Create` | RT-197, #3831 (open). |
73| `d3d12_xs.dll!D3D12CreateDevice` not found (16 D3D12.X checks) | The runtime serves the console's `D3D12XboxCreateDevice`; the title asks for `D3D12CreateDevice`. Whether the console's `d3d12_xs.dll` exports that name is not measured here. | 73| `d3d12_xs.dll!D3D12CreateDevice` not found (16 D3D12.X checks) | The runtime serves the console's `D3D12XboxCreateDevice`; the title asks for `D3D12CreateDevice`. Whether the console's `d3d12_xs.dll` exports that name is not measured here. |
74| `kernelx.dll` imports `XMemAlloc`, `XMemVirtualAlloc`, `TitleMemoryStatus`, `GetConsoleType`, `SetThreadName`/`GetThreadName`; `xmem.dll` physical pages; `xcrdapi.dll!DStorageGetFactory`; `MFResetDXGIDeviceManagerX` | These are the XCL title's bindings, not the game's. The executable's own import table and call sites are measured at `1cc6e3c1` ([runtime_imports.md](runtime_imports.md#the-retail-executable-rt-5)): `xmem.dll!XMemAlloc`, `XMemFree` and `XMemVirtualAlloc` bind (the last at 23 measured call sites), and the four `xmem.dll` physical-page calls (`XMemAllocatePhysicalPages`, `XMemFreePhysicalPages`, `XMemMapPhysicalPages`, `XMemMapPhysicalPagesScatter`) are served; the same names under `kernelx.dll` are not. `XCRDAPI.dll!DStorageGetFactory` is a measured, still unimplemented import. `TitleMemoryStatus`, `GetConsoleType`, `SetThreadName`/`GetThreadName` and `MFResetDXGIDeviceManagerX` are not in that table, so they remain leads, not known needs. | 74| `kernelx.dll` imports `XMemAlloc`, `XMemVirtualAlloc`, `TitleMemoryStatus`, `GetConsoleType`, `SetThreadName`/`GetThreadName`; `xmem.dll` physical pages; `xcrdapi.dll!DStorageGetFactory`; `MFResetDXGIDeviceManagerX` | These are the XCL title's bindings, not the game's. The executable's own import table and call sites are measured at `1cc6e3c1` ([runtime_imports.md](runtime_imports.md#the-retail-executable-rt-5)): `xmem.dll!XMemAlloc`, `XMemFree` and `XMemVirtualAlloc` bind (the last at 23 measured call sites), and the four `xmem.dll` physical-page calls (`XMemAllocatePhysicalPages`, `XMemFreePhysicalPages`, `XMemMapPhysicalPages`, `XMemMapPhysicalPagesScatter`) are served; the same names under `kernelx.dll` are not. `XCRDAPI.dll!DStorageGetFactory` is a measured import served by `dstorage.cpp` (since `2d7be48de`). `TitleMemoryStatus`, `GetConsoleType`, `SetThreadName`/`GetThreadName` and `MFResetDXGIDeviceManagerX` are not in that table, so they remain leads, not known needs. |
75| The title's window is not a hidden 1920x1080 tool window | An XCL design choice (its console screen), not a console fact. | 75| The title's window is not a hidden 1920x1080 tool window | An XCL design choice (its console screen), not a console fact. |
diff --git a/docs/xmem_exe_calls.md b/docs/xmem_exe_calls.md
index 25da5364c..071cb6b7f 100644
--- a/docs/xmem_exe_calls.md
+++ b/docs/xmem_exe_calls.md
@@ -92,7 +92,7 @@ with `0x20402000` and attributes `0x23`, then `XMemMapPhysicalPages` of those pa
92stops at `XMemVirtualAlloc`: since #6919 it accepts that attribute word and the reserve-only 64 KiB window. 92stops at `XMemVirtualAlloc`: since #6919 it accepts that attribute word and the reserve-only 64 KiB window.
93 93
94The host's own AWE functions need `SeLockMemoryPrivilege`, which an ordinary user does not hold, so the shim emulates 94The host's own AWE functions need `SeLockMemoryPrivilege`, which an ordinary user does not hold, so the shim emulates
95the pool rather than forwarding (#6919): a pagefile-backed section in 64 KiB pages, committed at once and given 95the pool rather than forwarding (#6919): a pagefile-backed section in 64 KiB pages, committed at once on Wine (and on demand on native Windows) and given
96physical memory as it is touched, with views placed at the reserved range. Pages keep their contents while unmapped or 96physical memory as it is touched, with views placed at the reserved range. Pages keep their contents while unmapped or
97mapped elsewhere, and one page can be mapped at several addresses. The attribute word is recorded, still not decoded, 97mapped elsewhere, and one page can be mapped at several addresses. The attribute word is recorded, still not decoded,
98and every page is 64 KiB, which all four callers' arithmetic agrees with (`runtime/shims/xmem.cpp`). 98and every page is 64 KiB, which all four callers' arithmetic agrees with (`runtime/shims/xmem.cpp`).