diff options
| author | Aslan2142 <jan.trencansky@protonmail.com> | 2026-11-26 23:35:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-26 23:35:54 +0100 |
| commit | d1dff7949be62b6609c3c2ca937df7f50fbf1305 (patch) | |
| tree | a658d3ab05d3411050bd65ffb9680e821146c9fc /runtime/src | |
| parent | e5a7c8942678b323f655939c81f5d8855d20c248 (diff) | |
| parent | 4f364c857ba8daa3bb341693b37971e86be8eedb (diff) | |
Merge pull request #1867 from azsekazvamdimitar/shadow-aliased-guard
d3d12: slot-133 shadows guard aliased title pages at every address instead of copying them each submission (RT-SHADOW-ALIAS-GUARD)
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/title_page_watch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/src/title_page_watch.h b/runtime/src/title_page_watch.h index 9d0a2ccfc..44a19cb1b 100644 --- a/runtime/src/title_page_watch.h +++ b/runtime/src/title_page_watch.h | |||
| @@ -9,7 +9,8 @@ | |||
| 9 | // | 9 | // |
| 10 | // 1. Aliases (title_page_aliases). xmem maps one physical page at as many VAs as the title asks | 10 | // 1. Aliases (title_page_aliases). xmem maps one physical page at as many VAs as the title asks |
| 11 | // (XMemMapPhysicalPages): a write through one VA changes what the others read without touching them. xmem | 11 | // (XMemMapPhysicalPages): a write through one VA changes what the others read without touching them. xmem |
| 12 | // reports each 64 KiB page mapped at more than one address; a shadow copies those at every submission. | 12 | // reports each 64 KiB page mapped at more than one address; a shadow guards those at every address with the |
| 13 | // geometry watch's cells (title_geometry_watch.h), or copies them at every submission while it can't. | ||
| 13 | // | 14 | // |
| 14 | // 2. Kernel writes (kernel_writes). A read-only page makes ReadFile fail with ERROR_NOACCESS instead of faulting | 15 | // 2. Kernel writes (kernel_writes). A read-only page makes ReadFile fail with ERROR_NOACCESS instead of faulting |
| 15 | // into a user-mode handler. The file shims (read_file and the rest, below) pin the destination before the kernel | 16 | // into a user-mode handler. The file shims (read_file and the rest, below) pin the destination before the kernel |