summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-01-14 12:26:58 +0100
committerJosJuice <josjuice@gmail.com>2023-01-14 20:35:50 +0100
commit4fa9fa997e2a99999a868ad3f504beece5857142 (patch)
tree2b558d1dc2332f420f94c9b12bd03c3695a48d08 /Source/Android/app/src/main/java
parent9c90b31e6aadf5972f858e89e523a895e28ae5f6 (diff)
Core: Allocate 2 GiB of guard pages below fastmem area
See the comment added by this commit. We were previously guarding against overshooting in address calculations, but not against undershooting. Perhaps someone assumed that the displacement of an x86 loadstore was treated as unsigned? Note: While the comment says we can undershoot by up to 2 GiB, in practice Jit64 as it currently behaves won't actually undershoot by more than 0x8000 if my analysis is correct. But address space is cheap, so let's guard the full 2 GiB.
Diffstat (limited to 'Source/Android/app/src/main/java')
0 files changed, 0 insertions, 0 deletions