comparison src/cs/services/dar/tests/dar_test.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_test.c */
4 /* */
5 /* Purpose: This file contains Diagnose And Recovery test generic functions.*/
6 /* */
7 /* Note: None. */
8 /* */
9 /* Version 0.1 */
10 /* */
11 /* Date Modification */
12 /* ------------------------------------------------------------------------ */
13 /* 26 September 2001 Create */
14 /* */
15 /* Author Stephanie Gerthoux */
16 /* */
17 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */
18 /******************************************************************************/
19
20 #include "tests/rv/rv_test_filter.h"
21
22 #if ((DAR_REGR == SW_COMPILED) || (DAR_MISC == SW_COMPILED))
23 #include "dar/tests/dar_test.h"
24
25 /* Define the global variables used with DAR test level */
26 T_RVF_MB_ID mb_dar_test;
27
28 /**********************************************************************************/
29 /* */
30 /* Function Name: dar_test_set_mb_id */
31 /* */
32 /* Purpose: This function is called to set DAR test MBs IDs and initialize */
33 /* the pointer to the global variable. */
34 /* */
35 /* Input Parameters: */
36 /* memory bank list */
37 /* */
38 /* Output Parameters: */
39 /* None. */
40 /* */
41 /* Note: */
42 /* None. */
43 /* */
44 /* Revision History: */
45 /* 26 september 2001 Stephanie Gerthoux: Creation. */
46 /* */
47 /**********************************************************************************/
48 void dar_test_set_mb_id (T_RVF_MB_ID mb_id[])
49 {
50 /********************** Start dar_test_set_mb_id function ***********************/
51 mb_dar_test = mb_id[0];
52 }
53
54 /*********************** Stop dar_test_set_mb_id function ***********************/
55
56 #endif /* #if (DAR_TEST == SW_COMPILED) */