- moved Handle/Result definitions to kernel.h

- added ResetType enum
This commit is contained in:
bunnei 2014-05-18 18:12:29 -04:00
parent 8fba88d5d5
commit 772abad778
6 changed files with 19 additions and 14 deletions

View file

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