mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-30 04:16:25 +02:00
New JIT cache for platforms that enforce W^X, currently unused
This commit is contained in:
parent
257df61a2e
commit
36e1e16f15
14 changed files with 749 additions and 31 deletions
|
@ -16,6 +16,7 @@ namespace Ryujinx.Cpu.Jit
|
|||
}
|
||||
|
||||
public void Commit(ulong offset, ulong size) => _impl.Commit(offset, size);
|
||||
public void MapAsRw(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadAndWrite);
|
||||
public void MapAsRx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadAndExecute);
|
||||
public void MapAsRwx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadWriteExecute);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue