summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-11 04:56:28 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-30 14:47:01 +0100
commitb5ee4f9df9ad302355eb48f59e0a11723b639ada (patch)
tree151874d660a447445b045d386b6e5c5d23d5ecf3 /src/core/hle
parentKernel: Remove useless/duplicated comments; mark functions static (diff)
downloadyuzu-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/hle')
-rw-r--r--src/core/hle/kernel/kernel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 3828efbea..08a5db3b7 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -16,6 +16,11 @@
typedef u32 Handle;
typedef s32 Result;
+// 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 userspace virtual address space.
+typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space.
+
const Handle INVALID_HANDLE = 0;
namespace Kernel {