FreeCalypso > hg > freecalypso-citrine
comparison L1/cfile/l1_small_defs.c @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
1 /* | |
2 * TI's original code had an l1_small.c module, containing the GSM small | |
3 * sleep function implemented in assembly (TI assembler syntax embedded | |
4 * in the C module via an individual asm() for each line, very poor style) | |
5 * and C definitions for two helper variables. In FreeCalypso we are | |
6 * moving the small sleep assembly code into a proper assembly module; | |
7 * this C module contains just the helper variable definitions. | |
8 */ | |
9 | |
10 #include "config.h" | |
11 #include "l1_confg.h" | |
12 #include "l1_macro.h" | |
13 | |
14 #if (CODE_VERSION == SIMULATION) | |
15 #include <string.h> | |
16 #include "l1_types.h" | |
17 #include "sys_types.h" | |
18 #include "l1_const.h" | |
19 #include "l1_time.h" | |
20 #if TESTMODE | |
21 #include "l1tm_defty.h" | |
22 #endif | |
23 #if (AUDIO_TASK == 1) | |
24 #include "l1audio_const.h" | |
25 #include "l1audio_cust.h" | |
26 #include "l1audio_defty.h" | |
27 #endif | |
28 #if (L1_GTT == 1) | |
29 #include "l1gtt_const.h" | |
30 #include "l1gtt_defty.h" | |
31 #endif | |
32 #if (L1_MP3 == 1) | |
33 #include "l1mp3_defty.h" | |
34 #endif | |
35 #if (L1_MIDI == 1) | |
36 #include "l1midi_defty.h" | |
37 #endif | |
38 #if (L1_AAC == 1) | |
39 #include "l1aac_defty.h" | |
40 #endif | |
41 #include "l1_defty.h" | |
42 #include "l1_varex.h" | |
43 #include "cust_os.h" | |
44 #include "l1_msgty.h" | |
45 | |
46 #include <stdio.h> | |
47 #include "sim_cfg.h" | |
48 #include "sim_cons.h" | |
49 #include "sim_def.h" | |
50 #include "sim_var.h" | |
51 | |
52 #else | |
53 #include <string.h> | |
54 | |
55 #include "l1_types.h" | |
56 #include "sys_types.h" | |
57 #include "l1_const.h" | |
58 #include "l1_time.h" | |
59 | |
60 #if TESTMODE | |
61 #include "l1tm_defty.h" | |
62 #endif | |
63 #if (AUDIO_TASK == 1) | |
64 #include "l1audio_const.h" | |
65 #include "l1audio_cust.h" | |
66 #include "l1audio_defty.h" | |
67 #endif | |
68 #if (L1_GTT == 1) | |
69 #include "l1gtt_const.h" | |
70 #include "l1gtt_defty.h" | |
71 #endif | |
72 #if (L1_MP3 == 1) | |
73 #include "l1mp3_defty.h" | |
74 #endif | |
75 #if (L1_MIDI == 1) | |
76 #include "l1midi_defty.h" | |
77 #endif | |
78 #if (L1_AAC == 1) | |
79 #include "l1aac_defty.h" | |
80 #endif | |
81 #include "l1_defty.h" | |
82 #include "l1_varex.h" | |
83 #include "../../gpf/inc/cust_os.h" | |
84 #include "l1_msgty.h" | |
85 #include "tpudrv.h" | |
86 | |
87 #endif | |
88 | |
89 UWORD8 *mode_authorized = &(l1s.pw_mgr.mode_authorized); | |
90 UWORD8 *switch_PWR_MNGT = &(l1_config.pwr_mngt); |