diff options
author | purpasmart96 <purpasmart96@users.noreply.github.com> | 2014-11-08 03:53:18 +0100 |
---|---|---|
committer | purpasmart96 <kanzoconfigz@hotmail.com> | 2014-11-19 00:57:25 +0100 |
commit | 66431bcedaf406e5d356da1aad8baf55e1cc9cb9 (patch) | |
tree | 1b7982ea71b69f54913ee6eb18c74d5b3bb4510e /src/core/hle/kernel | |
parent | Merge pull request #169 from archshift/autoplay (diff) | |
download | yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar.gz yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar.bz2 yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar.lz yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar.xz yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.tar.zst yuzu-66431bcedaf406e5d356da1aad8baf55e1cc9cb9.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/shared_memory.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h index 5312b8854..6204d8a45 100644 --- a/src/core/hle/kernel/shared_memory.h +++ b/src/core/hle/kernel/shared_memory.h @@ -12,11 +12,15 @@ namespace Kernel { /// Permissions for mapped shared memory blocks enum class MemoryPermission : u32 { - None = 0, - Read = (1u << 0), - Write = (1u << 1), - ReadWrite = (Read | Write), - DontCare = (1u << 28) + None = 0, + Read = (1u << 0), + Write = (1u << 1), + ReadWrite = (Read | Write), + Execute = (1u << 2), + ReadExecute = (Read | Execute), + WriteExecute = (Write | Execute), + ReadWriteExecute = (Read | Write | Execute), + DontCare = (1u << 28) }; /** |