aboutsummaryrefslogtreecommitdiff
path: root/src/core/mem_map.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-29 11:54:44 -0300
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-16 01:03:46 -0300
commite2c7954be5ccabc7c5f87000db01cef040ca4b47 (patch)
tree5b3288c66f6941a9d6be0f2907c3526bb3b7e6ac /src/core/mem_map.h
parenta12a30c9e0c059f87649a1f87b76003ee44efe73 (diff)
Memory: Move address type conversion routines to memory.cpp/h
These helpers aren't really part of the kernel, and mem_map.cpp/h is going to be moved there next.
Diffstat (limited to 'src/core/mem_map.h')
-rw-r--r--src/core/mem_map.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h
index 229ef82c5..cba8a0714 100644
--- a/src/core/mem_map.h
+++ b/src/core/mem_map.h
@@ -32,15 +32,4 @@ u32 MapBlock_Heap(u32 size, u32 operation, u32 permissions);
*/
u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions);
-/**
- * Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
- * address. This should be used by services to translate addresses for use by the hardware.
- */
-PAddr VirtualToPhysicalAddress(VAddr addr);
-
-/**
- * Undoes a mapping performed by VirtualToPhysicalAddress().
- */
-VAddr PhysicalToVirtualAddress(PAddr addr);
-
} // namespace