FreeCalypso > hg > fc-selenite
comparison src/cs/layer1/cfile/l1_small_asm.S @ 150:d43dadd91383
l1_small_asm.S for gcc: same change as in l1_small.c TMS470 version
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 06 Feb 2019 23:28:49 +0000 |
parents | a2052ac75672 |
children |
comparison
equal
deleted
inserted
replaced
149:bd1301884216 | 150:d43dadd91383 |
---|---|
19 /* Called by TCT_Schedule main loop of Nucleus */ | 19 /* Called by TCT_Schedule main loop of Nucleus */ |
20 /*-------------------------------------------------------*/ | 20 /*-------------------------------------------------------*/ |
21 | 21 |
22 #define SMALL_SLEEP 0x01 | 22 #define SMALL_SLEEP 0x01 |
23 #define ALL_SLEEP 0x04 | 23 #define ALL_SLEEP 0x04 |
24 #define BIG_SMALL_SLEEP 0x05 | |
24 #define PWR_MNGT 0x01 | 25 #define PWR_MNGT 0x01 |
25 | 26 |
26 .globl _GSM_Small_Sleep | 27 .globl _GSM_Small_Sleep |
27 _GSM_Small_Sleep: | 28 _GSM_Small_Sleep: |
28 | 29 |
36 ldr r0,[r0] | 37 ldr r0,[r0] |
37 ldrb r1,[r0] | 38 ldrb r1,[r0] |
38 cmp r1,#SMALL_SLEEP | 39 cmp r1,#SMALL_SLEEP |
39 beq Small_sleep_ok | 40 beq Small_sleep_ok |
40 cmp r1,#ALL_SLEEP | 41 cmp r1,#ALL_SLEEP |
42 beq Small_sleep_ok | |
43 cmp r1,#BIG_SMALL_SLEEP | |
41 bne TCT_Schedule_Loop | 44 bne TCT_Schedule_Loop |
42 | 45 |
43 Small_sleep_ok: | 46 Small_sleep_ok: |
44 | 47 |
45 // ***************************************************** | 48 // ***************************************************** |