mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* Implement inline memory load/store exclusive * Fix missing REX prefix on 8-bits CMPXCHG * Increment PTC version due to bugfix * Remove redundant memory checks * Address PR feedback * Increment PPTC version
20 lines
438 B
C#
20 lines
438 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;
|
|
|
|
bool IsMapped(ulong va);
|
|
|
|
void MarkRegionAsModified(ulong va, ulong size);
|
|
}
|
|
} |