diff options
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r-- | arm9/lib/include/consts.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arm9/lib/include/consts.h b/arm9/lib/include/consts.h index 885deff0..c09e8cd9 100644 --- a/arm9/lib/include/consts.h +++ b/arm9/lib/include/consts.h @@ -27,6 +27,8 @@ #define HW_C6_PR_2GB 0x3c #define HW_C6_PR_4GB 0x3e +#define HW_SYSTEM_CLOCK 33514000 + #define PXI_PROC_ARM7 0x01 #define OSi_CONSOLE_NOT_DETECT 0xffffffff @@ -36,6 +38,12 @@ #define OS_CONSOLE_SIZE_MASK 0x00000003 #define OS_CONSOLE_SIZE_4MB 0x00000001 +#define OS_THREAD_LAUNCHER_PRIORITY 0x10 +#define OS_THREAD_PRIORITY_MIN 0x00 +#define OS_THREAD_PRIORITY_MAX 0x1F + +#define OS_THREAD_SPECIFIC_MAX 0x03 + #define OSi_TCM_REGION_BASE_MASK 0xfffff000 #define OSi_TRUNC(n, a) (((u32) (n)) & ~((a) - 1)) |