memory: remove per-page host protection bookkeeping

This commit is contained in:
nmzik committed 2026-09-12 13:40:10 +04:00
1 parent 0cd7682012
commit 73363f1272
6 files changed
+21 -115

No files matched your search

+2 -2
View File
@@ -50,8 +50,8 @@ bool FreeRange(uint64_t address, uint64_t size) {
return SysVirtualFreeRange(address, size);
}
bool Protect(uint64_t address, uint64_t size, Mode mode, Mode* old_mode) {
return SysVirtualProtect(address, size, mode, old_mode);
bool Protect(uint64_t address, uint64_t size, Mode mode) {
return SysVirtualProtect(address, size, mode);
}
bool FlushInstructionCache(uint64_t address, uint64_t size) {