diff options
| author | bunnei <bunneidev@gmail.com> | 2016-01-14 22:27:36 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-01-14 22:27:36 -0500 |
| commit | 416bbdb33a1dee0b52485e503b5b3d1e29b63b9c (patch) | |
| tree | d55fd4d616c0e516803fc64c9eacdd025a9dc8f2 /src/core/hle/kernel/shared_memory.h | |
| parent | 7bac11c61bb0c9cd2607f99ecbf571c0a763f90a (diff) | |
| parent | d9c4c1622f25b8ba943701c596769436081e2597 (diff) | |
Merge pull request #1327 from Subv/unmap_memblock
HLE/SVC: Implement UnmapMemoryBlock.
Diffstat (limited to 'src/core/hle/kernel/shared_memory.h')
| -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 35b550d12c..b51049ad03 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 |
