aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/shared_memory.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-04-17 21:58:51 -0500
committerSubv <subv2112@gmail.com>2016-05-12 20:01:26 -0500
commit0fb6d2a24729401e17cd69264cdb630516d9c151 (patch)
treed51689fbf847d396496d9e8ff372bc7dfcc65c0e /src/core/hle/kernel/shared_memory.h
parent9005cda66469070d9f1cd844720233e738fef74d (diff)
Kernel: Implemented shared memory permissions.
Diffstat (limited to 'src/core/hle/kernel/shared_memory.h')
-rw-r--r--src/core/hle/kernel/shared_memory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h
index b442cb764..af145bef5 100644
--- a/src/core/hle/kernel/shared_memory.h
+++ b/src/core/hle/kernel/shared_memory.h
@@ -49,6 +49,12 @@ public:
HandleType GetHandleType() const override { return HANDLE_TYPE; }
/**
+ * Converts the specified MemoryPermission into the equivalent VMAPermission.
+ * @param permission The MemoryPermission to convert.
+ */
+ static VMAPermission ConvertPermissions(MemoryPermission permission);
+
+ /**
* Maps a shared memory block to an address in the target process' address space
* @param target_process Process on which to map the memory block.
* @param address Address in system memory to map shared memory block to