aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs
blob: 73b3a9e16c6bc4d0a94d5411956d8bffd2a95656 (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, ResourceName name);
    }
}