2018-08-15 14:59:51 -04:00
|
|
|
using System;
|
|
|
|
|
2018-12-18 00:33:36 -05:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Memory
|
2018-08-15 14:59:51 -04:00
|
|
|
{
|
|
|
|
[Flags]
|
|
|
|
enum MemoryAttribute : byte
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
Mask = 0xff,
|
|
|
|
|
|
|
|
Borrowed = 1 << 0,
|
|
|
|
IpcMapped = 1 << 1,
|
|
|
|
DeviceMapped = 1 << 2,
|
|
|
|
Uncached = 1 << 3,
|
|
|
|
|
|
|
|
IpcAndDeviceMapped = IpcMapped | DeviceMapped,
|
|
|
|
|
|
|
|
BorrowedAndIpcMapped = Borrowed | IpcMapped,
|
|
|
|
|
|
|
|
DeviceMappedAndUncached = DeviceMapped | Uncached
|
|
|
|
}
|
|
|
|
}
|