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