summaryrefslogtreecommitdiffstats
path: root/src/core/mem_map_funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/mem_map_funcs.cpp')
-rw-r--r--src/core/mem_map_funcs.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp
index d0ca85ccd..0342122df 100644
--- a/src/core/mem_map_funcs.cpp
+++ b/src/core/mem_map_funcs.cpp
@@ -178,28 +178,6 @@ u8 *GetPointer(const u32 addr) {
}
/**
- * Maps a block of memory in shared memory
- * @param handle Handle to map memory block for
- * @param addr Address to map memory block to
- * @param permissions Memory map permissions
- */
-u32 MapBlock_Shared(u32 handle, u32 addr,u32 permissions) {
- MemoryBlock block;
-
- block.handle = handle;
- block.base_address = addr;
- block.permissions = permissions;
-
- if (g_shared_map.size() > 0) {
- const MemoryBlock last_block = g_shared_map.rbegin()->second;
- block.address = last_block.address + last_block.size;
- }
- g_shared_map[block.GetVirtualAddress()] = block;
-
- return block.GetVirtualAddress();
-}
-
-/**
* Maps a block of memory on the heap
* @param size Size of block in bytes
* @param operation Memory map operation type