kernel: added enum for known CurrentThread and CurrentProcess handles

This commit is contained in:
bunnei 2014-05-26 21:56:23 -04:00
parent 96b2105524
commit 3d7693f75f

View file

@ -11,6 +11,11 @@ typedef s32 Result;
namespace Kernel { namespace Kernel {
enum KernelHandle {
CurrentThread = 0xFFFF8000,
CurrentProcess = 0xFFFF8001,
};
enum class HandleType : u32 { enum class HandleType : u32 {
Unknown = 0, Unknown = 0,
Port = 1, Port = 1,