about summary refs log tree commit diff stats
path: root/src/include/custommem.h
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2024-01-13 08:45:52 +0100
committerGitHub <noreply@github.com>2024-01-13 08:45:52 +0100
commit71463476f6325bfebc2a497221a76b1f5b903626 (patch)
treef49bbf1866bfbfb9e53635fc28ceb42f82ad6563 /src/include/custommem.h
parent20b388c1d2fd6a1cfb3973838345175410f9fa71 (diff)
downloadbox64-71463476f6325bfebc2a497221a76b1f5b903626.tar.gz
box64-71463476f6325bfebc2a497221a76b1f5b903626.zip
[RBTREE] Reverted memory tracking to 32 bits (#1201)
Diffstat (limited to 'src/include/custommem.h')
-rw-r--r--src/include/custommem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index 363c3274..38d63702 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -75,13 +75,13 @@ uintptr_t getJumpAddress64(uintptr_t addr);
 #define PROT_CUSTOM     (PROT_DYNAREC | PROT_DYNAREC_R | PROT_NOPROT)
 #define PROT_WAIT       0xFF
 
-void updateProtection(uintptr_t addr, size_t size, uint8_t prot);
-void setProtection(uintptr_t addr, size_t size, uint8_t prot);
-void setProtection_mmap(uintptr_t addr, size_t size, uint8_t prot);
-void setProtection_elf(uintptr_t addr, size_t size, uint8_t prot);
+void updateProtection(uintptr_t addr, size_t size, uint32_t prot);
+void setProtection(uintptr_t addr, size_t size, uint32_t prot);
+void setProtection_mmap(uintptr_t addr, size_t size, uint32_t prot);
+void setProtection_elf(uintptr_t addr, size_t size, uint32_t prot);
 void freeProtection(uintptr_t addr, size_t size);
 void refreshProtection(uintptr_t addr);
-uint8_t getProtection(uintptr_t addr);
+uint32_t getProtection(uintptr_t addr);
 int getMmapped(uintptr_t addr);
 void loadProtectionFromMap(void);
 #ifdef DYNAREC