diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-06-10 17:28:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 17:28:41 +0300 |
commit | 688b3bcd67b47a4ddf593dc0244409b2c5aa10c7 (patch) | |
tree | 4cebc47a45ac03ecf049e4a87ac21150fd67618e /arm9/lib/include/consts.h | |
parent | 81afcebd41d4485cc0285860305dd4304380f9d2 (diff) | |
parent | e23bf78c5479f2c488f9441f013a9651d1f886f1 (diff) |
Merge pull request #155 from red031000/master
arm9 OS_thread
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)) |