2018-12-18 06:33:36 +01:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Memory
|
2018-11-28 23:18:09 +01:00
|
|
|
{
|
|
|
|
struct KMemoryArrangeRegion
|
|
|
|
{
|
2018-12-05 01:52:39 +01:00
|
|
|
public ulong Address { get; private set; }
|
|
|
|
public ulong Size { get; private set; }
|
2018-11-28 23:18:09 +01:00
|
|
|
|
|
|
|
public ulong EndAddr => Address + Size;
|
|
|
|
|
2018-12-06 12:16:24 +01:00
|
|
|
public KMemoryArrangeRegion(ulong address, ulong size)
|
2018-11-28 23:18:09 +01:00
|
|
|
{
|
2018-12-06 12:16:24 +01:00
|
|
|
Address = address;
|
|
|
|
Size = size;
|
2018-11-28 23:18:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|