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