FreeCalypso > hg > freecalypso-citrine
comparison services/dar/dar_gbl_var.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 /* */ | |
3 /* File Name: dar_gbl_var.c */ | |
4 /* */ | |
5 /* Purpose: This function contains the global variables that are */ | |
6 /* not initialized in the .bss */ | |
7 /* ---------------------------- */ | |
8 /* These variables are stored in the .bss_dar section */ | |
9 /* */ | |
10 /* Version 0.1 */ | |
11 /* */ | |
12 /* Date Modification */ | |
13 /* ------------------------------------ */ | |
14 /* 29 October 2001 Create */ | |
15 /* */ | |
16 /* Author Stephanie Gerthoux */ | |
17 /* */ | |
18 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ | |
19 /****************************************************************************/ | |
20 | |
21 #define BSS_DAR __attribute__ ((section ("ext.ram"))) | |
22 | |
23 #include "../../riviera/rv/general.h" | |
24 #include "../../riviera/rv/rv_general.h" | |
25 #include "../../riviera/rv/rv_defined_swe.h" | |
26 | |
27 #ifdef RVM_DAR_SWE | |
28 | |
29 #include "dar_api.h" | |
30 #include "dar_const_i.h" | |
31 | |
32 /**** Global variables ****/ | |
33 /* Buffer used to save some parameters before a reset */ | |
34 UINT8 dar_recovery_buffer[DAR_RECOVERY_DATA_MAX_BUFFER_SIZE] BSS_DAR; | |
35 | |
36 /* dar_current_status : to get the status of the system*/ | |
37 T_DAR_RECOVERY_STATUS dar_current_status BSS_DAR; | |
38 | |
39 /* dar_exception_status : to get the status of the exception */ | |
40 UINT8 dar_exception_status BSS_DAR; | |
41 | |
42 /* Write buffer*/ | |
43 char dar_write_buffer[DAR_MAX_BUFFER_SIZE] BSS_DAR; | |
44 | |
45 /* Ram buffer that contains the Debug Unit register */ | |
46 UINT32 debug_RAM[DEBUG_UNIT_WORD_SIZE] BSS_DAR; | |
47 | |
48 #endif /* #ifdef RVM_DAR_SWE */ | |
49 | |
50 /* used to be in the linker script in TI's original */ | |
51 UINT32 xdump_buffer[38] BSS_DAR; |