diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index ab06fa025..a7bc6b71a 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -10,18 +10,10 @@ | |||
| 10 | #include <string> | 10 | #include <string> |
| 11 | #include <vector> | 11 | #include <vector> |
| 12 | 12 | ||
| 13 | #include "common/common.h" | 13 | #include "common/common_types.h" |
| 14 | #include "core/hle/result.h" | ||
| 15 | |||
| 16 | typedef u32 Handle; | ||
| 17 | typedef s32 Result; | ||
| 18 | 14 | ||
| 19 | // TODO: It would be nice to eventually replace these with strong types that prevent accidental | 15 | #include "core/hle/hle.h" |
| 20 | // conversion between each other. | 16 | #include "core/hle/result.h" |
| 21 | typedef u32 VAddr; ///< Represents a pointer in the userspace virtual address space. | ||
| 22 | typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space. | ||
| 23 | |||
| 24 | const Handle INVALID_HANDLE = 0; | ||
| 25 | 17 | ||
| 26 | namespace Kernel { | 18 | namespace Kernel { |
| 27 | 19 | ||