FreeCalypso > hg > fc-selenite
comparison src/nucleus/gcc/tct.S @ 75:6738273be0b3
Nucleus gcc assembly modules compile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Jul 2018 05:51:53 +0000 |
parents | d076885a0669 |
children |
comparison
equal
deleted
inserted
replaced
74:d076885a0669 | 75:6738273be0b3 |
---|---|
80 ****************************** | 80 ****************************** |
81 * Define constants used in low-level initialization. | 81 * Define constants used in low-level initialization. |
82 */ | 82 */ |
83 | 83 |
84 #include "asm_defs.h" | 84 #include "asm_defs.h" |
85 #include "../include/config.h" | |
86 | 85 |
87 .code 32 | 86 .code 32 |
88 | 87 |
89 /* TCT_System_Limit is a global variable defined in this module */ | 88 /* TCT_System_Limit is a global variable defined in this module */ |
90 | 89 |
965 LDR r0,[r2, #0] @ Pickup highest priority HISR ptr | 964 LDR r0,[r2, #0] @ Pickup highest priority HISR ptr |
966 CMP r0,#0 @ Is there a HISR active? | 965 CMP r0,#0 @ Is there a HISR active? |
967 BNE TCT_Schedule_Thread @ Found an HISR | 966 BNE TCT_Schedule_Thread @ Found an HISR |
968 LDR r0,[r3, #0] @ Pickup highest priority Task ptr | 967 LDR r0,[r3, #0] @ Pickup highest priority Task ptr |
969 CMP r0,#0 @ Is there a task active? | 968 CMP r0,#0 @ Is there a task active? |
970 #if CONFIG_INCLUDE_L1 | 969 #if 1 /* was CONFIG_INCLUDE_L1 in Citrine */ |
971 BEQ _GSM_Small_Sleep | 970 BEQ _GSM_Small_Sleep |
972 #else | 971 #else |
973 BEQ TCT_Schedule_Loop @ If not, continue the search | 972 BEQ TCT_Schedule_Loop @ If not, continue the search |
974 #endif | 973 #endif |
975 | 974 |