diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-11-14 21:06:33 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-11-14 21:06:33 +0100 |
| commit | ee509f6350a25e42aca3c705bd35ec8ac4e962dd (patch) | |
| tree | bd637d638c5465cdcc01b88a37f033312acf4d40 /src/include/custommem.h | |
| parent | 6a7c6cba1235729767b16405780c2362ac835278 (diff) | |
| download | box64-ee509f6350a25e42aca3c705bd35ec8ac4e962dd.tar.gz box64-ee509f6350a25e42aca3c705bd35ec8ac4e962dd.zip | |
Small fixes and improvement to memory protection handling
Diffstat (limited to 'src/include/custommem.h')
| -rw-r--r-- | src/include/custommem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index 0a8642f4..a33e1377 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -43,6 +43,7 @@ uintptr_t getJumpAddress64(uintptr_t addr); void updateProtection(uintptr_t addr, size_t size, uint32_t prot); void setProtection(uintptr_t addr, size_t size, uint32_t prot); void freeProtection(uintptr_t addr, size_t size); +void refreshProtection(uintptr_t addr); uint32_t getProtection(uintptr_t addr); void loadProtectionFromMap(); #ifdef DYNAREC |