comparison src/cs/services/dar/dar_gbl_var.c @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
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 #include "rv/rv_defined_swe.h"
22 #ifdef RVM_DAR_SWE
23
24 #include "rv/general.h"
25 #include "rv/rv_general.h"
26 #include "dar/dar_api.h"
27 #include "dar/dar_const_i.h"
28
29 /**** Global variables ****/
30 /* Buffer used to save some parameters before a reset */
31 UINT8 dar_recovery_buffer[DAR_RECOVERY_DATA_MAX_BUFFER_SIZE];
32
33 /* dar_current_status : to get the status of the system*/
34 T_DAR_RECOVERY_STATUS dar_current_status;
35
36 /* dar_exception_status : to get the status of the exception */
37 UINT8 dar_exception_status;
38
39 /* Write buffer*/
40 char dar_write_buffer[DAR_MAX_BUFFER_SIZE];
41
42 /* Ram buffer that contains the Debug Unit register */
43 UINT32 debug_RAM[DEBUG_UNIT_WORD_SIZE];
44
45 #endif /* #ifdef RVM_DAR_SWE */
46