mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
22 lines
444 B
C#
22 lines
444 B
C#
|
using System;
|
||
|
|
||
|
namespace Ryujinx.HLE.OsHle.Handles
|
||
|
{
|
||
|
[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
|
||
|
}
|
||
|
}
|