diff options
| author | 2015-05-06 01:57:23 -0300 | |
|---|---|---|
| committer | 2015-05-06 23:45:05 -0300 | |
| commit | c916bcf7b53bb7d0e909e7ec45b0740a09a661b6 (patch) | |
| tree | 3369fdbae3bc36fb05d38c1da03a176905193db4 /src/core/hle/kernel/kernel.h | |
| parent | Common: Move NonCopyable to common_types.h (diff) | |
| download | yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.gz yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.tar.xz yuzu-c916bcf7b53bb7d0e909e7ec45b0740a09a661b6.zip | |
Move typedefs from kernel.h to more appropriate places
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 11 |
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 @@ | |||
| 11 | #include <vector> | 11 | #include <vector> |
| 12 | 12 | ||
| 13 | #include "common/common.h" | 13 | #include "common/common.h" |
| 14 | #include "core/hle/hle.h" | ||
| 14 | #include "core/hle/result.h" | 15 | #include "core/hle/result.h" |
| 15 | 16 | ||
| 16 | typedef u32 Handle; | ||
| 17 | typedef s32 Result; | ||
| 18 | |||
| 19 | // TODO: It would be nice to eventually replace these with strong types that prevent accidental | ||
| 20 | // conversion between each other. | ||
| 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 | |||
| 26 | namespace Kernel { | 17 | namespace Kernel { |
| 27 | 18 | ||
| 28 | class Thread; | 19 | class Thread; |