aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs
blob: 5f21704d45720d6cc2f98c7001006952073d7c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);

        (ulong, ulong)[] GetModifiedRanges(ulong address, ulong size);
    }
}