summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-06 06:57:23 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-07 04:45:05 +0200
commitc916bcf7b53bb7d0e909e7ec45b0740a09a661b6 (patch)
tree3369fdbae3bc36fb05d38c1da03a176905193db4 /src/core/hle/kernel
parentCommon: Move NonCopyable to common_types.h (diff)
downloadyuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.gz
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.bz2
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.lz
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.xz
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.zst
yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/kernel.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index ab06fa025..80a09cadc 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -11,18 +11,9 @@
#include <vector>
#include "common/common.h"
+#include "core/hle/hle.h"
#include "core/hle/result.h"
-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 {
class Thread;