diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-18 18:12:29 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-18 18:12:29 -0400 |
commit | 772abad77803809d8ee857efc0d7e29c36c6b2cb (patch) | |
tree | 452ad8bdd41fcb5d69764f2c607ad3f9b7e0297c /src/core/hle/syscall.h | |
parent | 8fba88d5d59ad4cd89a343e1562a314874bd88a4 (diff) |
- moved Handle/Result definitions to kernel.h
- added ResetType enum
Diffstat (limited to 'src/core/hle/syscall.h')
-rw-r--r-- | src/core/hle/syscall.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/syscall.h b/src/core/hle/syscall.h index 17f190266..3da349ed5 100644 --- a/src/core/hle/syscall.h +++ b/src/core/hle/syscall.h @@ -7,7 +7,7 @@ #include "common/common_types.h" //////////////////////////////////////////////////////////////////////////////////////////////////// -// SVC structures +// SVC types struct MemoryInfo { u32 base_address; @@ -31,14 +31,18 @@ struct ThreadContext { u32 fpexc; }; +enum ResetType { + RESETTYPE_ONESHOT, + RESETTYPE_STICKY, + RESETTYPE_PULSE, + RESETTYPE_MAX_BIT = (1u << 31), +}; + //////////////////////////////////////////////////////////////////////////////////////////////////// // Namespace Syscall namespace Syscall { -typedef u32 Handle; -typedef s32 Result; - void Register(); } // namespace |