comparison riviera/tests/rtest/rtest_env.h @ 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 * @file rtest_env.h
3 *
4 * Declarations of the Riviera Generic Functions
5 * for the Test SW Entity of Riviera.
6 *
7 * @author Vincent Oberle (v-oberle@ti.com)
8 * @version 0.1
9 */
10
11 /*
12 * History:
13 *
14 * Date Modification
15 * ------------------------------------
16 * 11/21/2001 Create
17 * 03/04/2002 Changed name to RTEST
18 *
19 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved
20 */
21
22 #ifndef __RTEST_ENV_H_
23 #define __RTEST_ENV_H_
24
25
26 #include "rvm/rvm_gen.h" /* Generic RVM types and functions. */
27 //#include "rvf/rvf_pool_size.h" /* Stack & Memory Bank sizes definitions */
28 #include "tests/rtest/rtest_pool_size.h" /* Stack & Memory Bank sizes definitions */
29
30
31 /**
32 * @name Mem bank
33 *
34 * Memory bank size and watermark.
35 */
36 /*@{*/
37 #define RTEST_MB_PRIM_SIZE RTEST_MB1_SIZE
38 #define RTEST_MB_PRIM_WATERMARK (RTEST_MB_PRIM_SIZE - 1072)
39 /*@}*/
40
41
42
43
44 /**
45 * @name Generic functions
46 *
47 * Generic functions declarations needed for a type 4 SWE
48 * (Self-made SWE).
49 */
50 /*@{*/
51 T_RVM_RETURN rtest_get_info (T_RVM_INFO_SWE *info_swe);
52
53 T_RVM_RETURN rtest_set_info (T_RVF_ADDR_ID addr_id,
54 T_RV_RETURN_PATH return_path[],
55 T_RVF_MB_ID bk_id_table[],
56 T_RVM_CB_FUNC call_back_error_ft);
57
58 T_RVM_RETURN rtest_init (void);
59
60 T_RVM_RETURN rtest_core (void);
61
62 T_RVM_RETURN rtest_stop (void);
63 T_RVM_RETURN rtest_kill (void);
64 /*@}*/
65
66
67 #endif /*__RTEST_ENV_H_*/