diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-11 04:56:28 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-30 14:47:01 +0100 |
commit | b5ee4f9df9ad302355eb48f59e0a11723b639ada (patch) | |
tree | 151874d660a447445b045d386b6e5c5d23d5ecf3 /src/core/mem_map.h | |
parent | Kernel: Remove useless/duplicated comments; mark functions static (diff) | |
download | yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar.gz yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar.bz2 yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar.lz yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar.xz yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.tar.zst yuzu-b5ee4f9df9ad302355eb48f59e0a11723b639ada.zip |
Diffstat (limited to 'src/core/mem_map.h')
-rw-r--r-- | src/core/mem_map.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h index fad40ae0c..8f4f21fec 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h @@ -7,12 +7,9 @@ #include "common/common.h" #include "common/common_types.h" -namespace Memory { +#include "core/hle/kernel/kernel.h" -// TODO: It would be nice to eventually replace these with strong types that prevent accidental -// conversion between each other. -typedef u32 VAddr; ///< Represents a pointer in the ARM11 virtual address space. -typedef u32 PAddr; ///< Represents a pointer in the physical address space. +namespace Memory { //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -190,7 +187,3 @@ VAddr PhysicalToVirtualAddress(PAddr addr); PAddr VirtualToPhysicalAddress(VAddr addr); } // namespace - -// These are used often, so re-export then on the root namespace -using Memory::VAddr; -using Memory::PAddr; |