summaryrefslogtreecommitdiff
path: root/src/core/mem_map.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-07-29 11:54:44 -0300
committerGravatar Yuri Kunde Schlesner2015-08-16 01:03:46 -0300
commite2c7954be5ccabc7c5f87000db01cef040ca4b47 (patch)
tree5b3288c66f6941a9d6be0f2907c3526bb3b7e6ac /src/core/mem_map.h
parentProcess: Store kernel compatibility version during loading (diff)
downloadyuzu-e2c7954be5ccabc7c5f87000db01cef040ca4b47.tar.gz
yuzu-e2c7954be5ccabc7c5f87000db01cef040ca4b47.tar.xz
yuzu-e2c7954be5ccabc7c5f87000db01cef040ca4b47.zip
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);
32 */ 32 */
33u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions); 33u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions);
34 34
35/**
36 * Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
37 * address. This should be used by services to translate addresses for use by the hardware.
38 */
39PAddr VirtualToPhysicalAddress(VAddr addr);
40
41/**
42 * Undoes a mapping performed by VirtualToPhysicalAddress().
43 */
44VAddr PhysicalToVirtualAddress(PAddr addr);
45
46} // namespace 35} // namespace