mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-18 21:26:29 +02:00
New JIT cache for platforms that enforce W^X, currently unused
This commit is contained in:
parent
94bd78f48a
commit
acc22c769d
14 changed files with 749 additions and 31 deletions
|
@ -9,5 +9,8 @@ namespace Ryujinx.Cpu.LightningJit.Cache
|
|||
{
|
||||
[LibraryImport("libarmeilleure-jitsupport", EntryPoint = "armeilleure_jit_memcpy")]
|
||||
public static partial void Copy(IntPtr dst, IntPtr src, ulong n);
|
||||
|
||||
[LibraryImport("libc", EntryPoint = "sys_icache_invalidate", SetLastError = true)]
|
||||
public static partial void SysIcacheInvalidate(IntPtr start, IntPtr len);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue