mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 15:19:50 -06:00
17 lines
552 B
C#
17 lines
552 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Versioning;
|
|
|
|
namespace Ryujinx.Cpu.LightningJit.Cache
|
|
{
|
|
[SupportedOSPlatform("macos")]
|
|
static partial class JitSupportDarwin
|
|
{
|
|
[LibraryImport("libarmeilleure-jitsupport", EntryPoint = "armeilleure_jit_memcpy")]
|
|
public static partial void Copy(nint dst, nint src, ulong n);
|
|
|
|
[LibraryImport("libc", EntryPoint = "sys_icache_invalidate", SetLastError = true)]
|
|
public static partial void SysIcacheInvalidate(nint start, nint len);
|
|
}
|
|
}
|