2019-10-13 06:02:07 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gpu.Memory
|
|
|
|
{
|
|
|
|
public interface IPhysicalMemory
|
|
|
|
{
|
|
|
|
int GetPageSize();
|
|
|
|
|
|
|
|
Span<byte> Read(ulong address, ulong size);
|
|
|
|
|
|
|
|
void Write(ulong address, Span<byte> data);
|
|
|
|
|
2019-10-26 17:50:52 +00:00
|
|
|
(ulong, ulong)[] GetModifiedRanges(ulong address, ulong size, ResourceName name);
|
2019-10-13 06:02:07 +00:00
|
|
|
}
|
|
|
|
}
|