diff options
author | Subv <subv2112@gmail.com> | 2015-12-31 15:46:32 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-01-14 17:29:19 +0100 |
commit | d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0 (patch) | |
tree | 7d0c54fee5790a5c5071d8441ec7cb6d88e0e527 /src/core/hle/kernel/shared_memory.h | |
parent | Merge pull request #1309 from lioncash/render (diff) | |
download | yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar.gz yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar.bz2 yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar.lz yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar.xz yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.tar.zst yuzu-d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/shared_memory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h index 35b550d12..b51049ad0 100644 --- a/src/core/hle/kernel/shared_memory.h +++ b/src/core/hle/kernel/shared_memory.h @@ -53,6 +53,13 @@ public: ResultCode Map(VAddr address, MemoryPermission permissions, MemoryPermission other_permissions); /** + * Unmaps a shared memory block from the specified address in system memory + * @param address Address in system memory where the shared memory block is mapped + * @return Result code of the unmap operation + */ + ResultCode Unmap(VAddr address); + + /** * Gets a pointer to the shared memory block * @param offset Offset from the start of the shared memory block to get pointer * @return Pointer to the shared memory block from the specified offset |