forked from Mirror/Ryujinx
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
10 lines
No EOL
257 B
C#
10 lines
No EOL
257 B
C#
using System;
|
|
|
|
namespace ChocolArm64.Memory
|
|
{
|
|
class MemoryProtectionException : Exception
|
|
{
|
|
public MemoryProtectionException(MemoryProtection protection) :
|
|
base($"Failed to set memory protection to \"{protection}\".") { }
|
|
}
|
|
} |