mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 03:22:01 +00:00
932224f051
* Implement ARM exclusive load/store with compare exchange insts, and enable multicore by default * Fix comment typo * Support Linux and OSX on MemoryAlloc and CompareExchange128, some cleanup * Use intel syntax on assembly code * Adjust identation * Add CPUID check and fix exclusive reservation granule size * Update schema multicore scheduling default value * Make the cpu id check code lower case aswell
16 lines
No EOL
283 B
C#
16 lines
No EOL
283 B
C#
using System;
|
|
|
|
namespace ChocolArm64.Memory
|
|
{
|
|
[Flags]
|
|
public enum MemoryProtection
|
|
{
|
|
None = 0,
|
|
Read = 1 << 0,
|
|
Write = 1 << 1,
|
|
Execute = 1 << 2,
|
|
|
|
ReadAndWrite = Read | Write,
|
|
ReadAndExecute = Read | Execute
|
|
}
|
|
} |