comparison nuc-fw/riviera/rvt/rvt_env_i.h @ 118:21de8d8e6ea7

checking in Riviera code from the Sotomodem version
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 29 Oct 2013 07:03:45 +0000
parents
children
comparison
equal deleted inserted replaced
117:e40d8661ecab 118:21de8d8e6ea7
1 /*******************************************************************************
2 *
3 * rvt_env_i.h
4 *
5 * This file should be included by rvt_env.c ONLY!!!
6 * It includes definitions of global variables used for trace.
7 *
8 * (C) Texas Instruments, all rights reserved
9 *
10 * Version number : 0.11
11 *
12 * History : 0.1 (7/4/2000) - Created
13 * : 0.11 (6/13/2002) - Remove useless dependency.
14 *
15 * Date : 6/13/2002
16 *
17 * Author : Cristian Livadiotti, c-livadiotti@ti.com
18 *
19 ******************************************************************************/
20
21 #ifndef __RVT_ENV_I_H__
22 #define __RVT_ENV_I_H__
23
24
25 /*
26 ** Environment global variables
27 */
28 extern T_RVF_MB_ID rvt_mb_id;
29 extern T_RVF_ADDR_ID rvt_addr_id;
30
31
32 /*
33 ** Trace Module State
34 */
35 extern T_RVT_STATE rvt_module_state;
36
37 extern char *p_rvt_lost_msg;
38 extern char *p_rvt_sys_time;
39 extern T_RVT_USER_DB rvt_user_db [];
40 extern T_RVT_USER_ID rv_trace_user_id;
41
42 #define RVT_LOST_MSG ("RVT: Lost Message ")
43 #define RVT_LOST_MSG_LENGTH (sizeof (RVT_LOST_MSG) - 1)
44
45 #define RVT_SYS_TIME ("RVT: System Time ")
46 #define RVT_SYS_TIME_LENGTH (sizeof (RVT_SYS_TIME) - 1)
47
48 #define RVT_HEX_VALUE_LENGTH (sizeof ("00000000") - 1)
49
50 #ifndef FRAMING_PROTOCOL
51 #define RVT_HYPERTERM_LENGTH (sizeof ('\n') + sizeof ('\r'))
52 #else
53 #define RVT_HDR_LENGTH (6)
54 #endif
55
56 #endif