FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/dar/dar_gbl_var.c @ 311:a2194416fd7c
gsm-fw: preparations for ARM exception handling (DAR disabled for now)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 17 Mar 2014 07:10:57 +0000 |
parents | a7087f91c752 |
children |
comparison
equal
deleted
inserted
replaced
310:083f262b7bbe | 311:a2194416fd7c |
---|---|
16 /* Author Stephanie Gerthoux */ | 16 /* Author Stephanie Gerthoux */ |
17 /* */ | 17 /* */ |
18 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ | 18 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ |
19 /****************************************************************************/ | 19 /****************************************************************************/ |
20 | 20 |
21 #define BSS_DAR __attribute__ ((section ("ext.ram"))) | |
22 | |
23 #include "../../riviera/rv/general.h" | |
24 #include "../../riviera/rv/rv_general.h" | |
21 #include "../../riviera/rv/rv_defined_swe.h" | 25 #include "../../riviera/rv/rv_defined_swe.h" |
26 | |
22 #ifdef RVM_DAR_SWE | 27 #ifdef RVM_DAR_SWE |
23 | 28 |
24 #include "../../riviera/rv/general.h" | |
25 #include "../../riviera/rv/rv_general.h" | |
26 #include "dar_api.h" | 29 #include "dar_api.h" |
27 #include "dar_const_i.h" | 30 #include "dar_const_i.h" |
28 | 31 |
29 /**** Global variables ****/ | 32 /**** Global variables ****/ |
30 /* Buffer used to save some parameters before a reset */ | 33 /* Buffer used to save some parameters before a reset */ |
31 UINT8 dar_recovery_buffer[DAR_RECOVERY_DATA_MAX_BUFFER_SIZE]; | 34 UINT8 dar_recovery_buffer[DAR_RECOVERY_DATA_MAX_BUFFER_SIZE] BSS_DAR; |
32 | 35 |
33 /* dar_current_status : to get the status of the system*/ | 36 /* dar_current_status : to get the status of the system*/ |
34 T_DAR_RECOVERY_STATUS dar_current_status; | 37 T_DAR_RECOVERY_STATUS dar_current_status BSS_DAR; |
35 | 38 |
36 /* dar_exception_status : to get the status of the exception */ | 39 /* dar_exception_status : to get the status of the exception */ |
37 UINT8 dar_exception_status; | 40 UINT8 dar_exception_status BSS_DAR; |
38 | 41 |
39 /* Write buffer*/ | 42 /* Write buffer*/ |
40 char dar_write_buffer[DAR_MAX_BUFFER_SIZE]; | 43 char dar_write_buffer[DAR_MAX_BUFFER_SIZE] BSS_DAR; |
41 | 44 |
42 /* Ram buffer that contains the Debug Unit register */ | 45 /* Ram buffer that contains the Debug Unit register */ |
43 UINT32 debug_RAM[DEBUG_UNIT_WORD_SIZE]; | 46 UINT32 debug_RAM[DEBUG_UNIT_WORD_SIZE] BSS_DAR; |
44 | 47 |
45 #endif /* #ifdef RVM_DAR_SWE */ | 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; |