runtime: report desktop tools-memory availability #916

Merged
R0Y00 merged 1 commit from upstream-pr/923 into main 2026-11-23 17:31:40 +00:00
R0Y00 commented 2026-11-23 17:15:36 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:15:36Z.


Refs #870. Builds on the controlled caller fixture in #896.

Expose the tools-memory availability query from the desktop XMem shim. Desktop does not have a devkit tools-memory partition, so the production query returns false. The named import is exercised twice, and the export check verifies ordinals 1 through 9.

Windows x64 / MSVC 19.51, Release:

ctest --preset release --no-tests=error -R '^xmem_shim_(exports|allocation|default_allocation|physical_pages|tools_memory|query)$' --output-on-failure

6/6 passed. The local startup probe binds the query and reaches the physical-page mapping import. The query did not run in that probe.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6564743832 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/923). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T17:15:36Z. --- Refs #870. Builds on the controlled caller fixture in #896. Expose the tools-memory availability query from the desktop XMem shim. Desktop does not have a devkit tools-memory partition, so the production query returns false. The named import is exercised twice, and the export check verifies ordinals 1 through 9. Windows x64 / MSVC 19.51, Release: ```powershell ctest --preset release --no-tests=error -R '^xmem_shim_(exports|allocation|default_allocation|physical_pages|tools_memory|query)$' --output-on-failure ``` 6/6 passed. The local startup probe binds the query and reaches the physical-page mapping import. The query did not run in that probe.
upstream-sync closed this pull request 2026-11-24 06:45:26 +00:00
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
R0Y00/Xbox2Windows!916
No description provided.