mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 17:56:59 +01:00
19 lines
443 B
C#
19 lines
443 B
C#
|
using System;
|
|||
|
|
|||
|
namespace ARMeilleure.Memory
|
|||
|
{
|
|||
|
public interface IMemoryManager
|
|||
|
{
|
|||
|
int AddressSpaceBits { get; }
|
|||
|
|
|||
|
IntPtr PageTablePointer { get; }
|
|||
|
|
|||
|
T Read<T>(ulong va) where T : unmanaged;
|
|||
|
void Write<T>(ulong va, T value) where T : unmanaged;
|
|||
|
|
|||
|
ref T GetRef<T>(ulong va) where T : unmanaged;
|
|||
|
ref T GetRefNoChecks<T>(ulong va) where T : unmanaged;
|
|||
|
|
|||
|
bool IsMapped(ulong va);
|
|||
|
}
|
|||
|
}
|