summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/shared_memory.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-04-18 04:58:51 +0200
committerSubv <subv2112@gmail.com>2016-05-13 03:01:26 +0200
commit0fb6d2a24729401e17cd69264cdb630516d9c151 (patch)
treed51689fbf847d396496d9e8ff372bc7dfcc65c0e /src/core/hle/kernel/shared_memory.h
parentAPT: Implement relocating the shared font to its true address. (diff)
downloadyuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar.gz
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar.bz2
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar.lz
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar.xz
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.tar.zst
yuzu-0fb6d2a24729401e17cd69264cdb630516d9c151.zip
Diffstat (limited to '')
-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