FreeCalypso > hg > ffs-editor
comparison src/cs/layer1/include/l1_varex.h @ 0:92470e5d0b9e
src: partial import from FC Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 15 May 2020 01:28:16 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:92470e5d0b9e |
|---|---|
| 1 /************* Revision Controle System Header ************* | |
| 2 * GSM Layer 1 software | |
| 3 * L1_VAREX.H | |
| 4 * | |
| 5 * Filename l1_varex.h | |
| 6 * Copyright 2003 (C) Texas Instruments | |
| 7 * | |
| 8 ************* Revision Controle System Header *************/ | |
| 9 | |
| 10 #ifdef L1_ASYNC_C | |
| 11 | |
| 12 #if (LONG_JUMP == 3) | |
| 13 #ifdef __GNUC__ | |
| 14 #define SECTION_ATTR __attribute__ ((section (".l1s_global"))) | |
| 15 #else | |
| 16 #define SECTION_ATTR | |
| 17 #pragma DATA_SECTION(l1s,".l1s_global") | |
| 18 #pragma DATA_SECTION(l1s_dsp_com,".l1s_global") | |
| 19 #pragma DATA_SECTION(l1a_l1s_com,".l1s_global") | |
| 20 #pragma DATA_SECTION(l1s_tpu_com,".l1s_global") | |
| 21 #pragma DATA_SECTION(l1_config,".l1s_global") | |
| 22 #endif | |
| 23 #else | |
| 24 #define SECTION_ATTR | |
| 25 #endif | |
| 26 | |
| 27 T_L1S_GLOBAL l1s SECTION_ATTR; | |
| 28 T_L1A_GLOBAL l1a; | |
| 29 | |
| 30 T_L1A_L1S_COM l1a_l1s_com SECTION_ATTR; | |
| 31 T_L1S_DSP_COM l1s_dsp_com SECTION_ATTR; | |
| 32 T_L1S_TPU_COM l1s_tpu_com SECTION_ATTR; | |
| 33 | |
| 34 #if (L1_DYN_DSP_DWNLD == 1) // equivalent to an API_HISR flag | |
| 35 T_L1_API_HISR l1_apihisr; | |
| 36 T_L1A_API_HISR_COM l1a_apihisr_com; | |
| 37 #endif | |
| 38 | |
| 39 // variables for L1 configuration | |
| 40 T_L1_CONFIG l1_config SECTION_ATTR; | |
| 41 | |
| 42 #undef SECTION_ATTR | |
| 43 | |
| 44 #else // L1_ASYNC_C | |
| 45 | |
| 46 extern T_L1S_GLOBAL l1s; | |
| 47 extern T_L1A_GLOBAL l1a; | |
| 48 | |
| 49 extern T_L1A_L1S_COM l1a_l1s_com; | |
| 50 extern T_L1S_DSP_COM l1s_dsp_com; | |
| 51 extern T_L1S_TPU_COM l1s_tpu_com; | |
| 52 | |
| 53 #if (L1_DYN_DSP_DWNLD == 1) // equivalent to an API_HISR flag | |
| 54 extern T_L1_API_HISR l1_apihisr; | |
| 55 extern T_L1A_API_HISR_COM l1a_apihisr_com; | |
| 56 #endif | |
| 57 | |
| 58 // variables for L1 configuration | |
| 59 extern T_L1_CONFIG l1_config; | |
| 60 #endif | |
| 61 | |
| 62 | |
| 63 extern const UWORD8 ramBootCode[]; // dummy DSP code for boot. | |
| 64 | |
| 65 |
