Move VAddr/PAddr typedefs to kernel.h

This commit is contained in:
Yuri Kunde Schlesner 2015-01-11 01:56:28 -02:00
parent 9a345de2bd
commit b5ee4f9df9
2 changed files with 7 additions and 9 deletions

View file

@ -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 {