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