summaryrefslogtreecommitdiff
path: root/arm9/lib/include/consts.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-10 02:25:43 +0100
committerred031000 <rubenru09@aol.com>2020-06-10 02:25:59 +0100
commit70d1600ef2607ecb112ca270f5982b4829e44c19 (patch)
tree63850e04719ff78998fd22d985aba08d5745d425 /arm9/lib/include/consts.h
parentcaba1031233657d89f3c35079e664551a07cd72f (diff)
arm9 OS_thread
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r--arm9/lib/include/consts.h8
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))