2019-10-13 08:02:07 +02: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 19:50:52 +02:00
|
|
|
(ulong, ulong)[] GetModifiedRanges(ulong address, ulong size, ResourceName name);
|
2019-10-13 08:02:07 +02:00
|
|
|
}
|
|
|
|
}
|