mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 14:46:39 +00:00
0039bb6394
* Refactor SVC handler * Get rid of KernelErr * Split kernel code files into multiple folders
22 lines
No EOL
448 B
C#
22 lines
No EOL
448 B
C#
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Memory
|
|
{
|
|
[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
|
|
}
|
|
} |