summaryrefslogtreecommitdiff
path: root/arm7/asm/OS_thread.s
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-06-09 11:04:48 -0400
committerGitHub <noreply@github.com>2020-06-09 11:04:48 -0400
commitc8f98c38d5baf6bf86531188b1a6ff0745d8d8c9 (patch)
treea7f9955405fbe972f0e8387f4e2a3dee0fb1f414 /arm7/asm/OS_thread.s
parenta33dcba598d724d600de6636c5eeea322a529e80 (diff)
parent3e4c87f220f9ce75ce490a91e296b256dce99a0e (diff)
Merge pull request #153 from red031000/master
arm7 OS_arena
Diffstat (limited to 'arm7/asm/OS_thread.s')
-rw-r--r--arm7/asm/OS_thread.s44
1 files changed, 43 insertions, 1 deletions
diff --git a/arm7/asm/OS_thread.s b/arm7/asm/OS_thread.s
index 64aebb04..027b2130 100644
--- a/arm7/asm/OS_thread.s
+++ b/arm7/asm/OS_thread.s
@@ -1,7 +1,49 @@
.include "asm/macros.inc"
.include "global.inc"
- .text
+ .section .bss
+
+ .global OSi_StackForDestructor
+OSi_StackForDestructor: ;0x03807784
+ .space 0x03807788 - 0x03807784
+
+ .global OSi_RescheduleCount
+OSi_RescheduleCount: ;0x03807788
+ .space 0x0380778C - 0x03807788
+
+ .global _0380778C
+_0380778C: ;0x0380778C
+ .space 0x03807790 - 0x0380778C
+
+ .global OSi_SystemCallbackInSwitchThread
+OSi_SystemCallbackInSwitchThread: ;0x03807790
+ .space 0x03807794 - 0x03807790
+
+ .global OSi_CurrentThreadPtr
+OSi_CurrentThreadPtr: ;0x03807794
+ .space 0x03807798 - 0x03807794
+
+ .global OSi_IsThreadInitialized
+OSi_IsThreadInitialized: ;0x03807798
+ .space 0x0380779C - 0x03807798
+
+ .global OSi_ThreadInfo
+OSi_ThreadInfo: ;0x0380779C
+ .space 0x038077A0 - 0x0380779C
+
+ .global _038077A0
+_038077A0: ;0x038077A0
+ .space 0x038077AC - 0x038077A0
+
+ .global OSi_IdleThread
+OSi_IdleThread: ;0x038077AC
+ .space 0x03807850 - 0x038077AC
+
+ .global OSi_LauncherThread
+OSi_LauncherThread: ;0x03807850
+ .space 0x038078F4 - 0x03807850
+
+ .section .text
arm_func_start OS_SetThreadDestructor
OS_SetThreadDestructor: ; 0x037F8D48