comparison src/g23m-fad/tcpip/rnet/rnet_env.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /**
2 * @file rnet_env.h
3 *
4 * Riviera NET.
5 *
6 * Declarations of the Riviera Generic Functions
7 *
8 * @author Vincent Oberle (v-oberle@ti.com)
9 * @version 0.1
10 */
11
12 /*
13 * History:
14 *
15 * Date Author Modification
16 * -------------------------------------------------------------------
17 * 01/29/2002 Vincent Oberle Create
18 *
19 * (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved
20 */
21
22 #ifndef __RNET_ENV_H_
23 #define __RNET_ENV_H_
24
25 #include "rvm_gen.h" /* Generic RVM types and functions. */
26 #include "rvf_pool_size.h" /* Stack & Memory Bank sizes definitions */
27
28 /**
29 * @name Memory bank size and stack size
30 *
31 * Memory bank size and watermark.
32 * Wished task stack in bytes.
33 */
34 /*@{*/
35 #ifdef RVF_RNET_MB1_SIZE
36 #define RNET_MB_PRIM_SIZE RVF_RNET_MB1_SIZE
37 #else
38 #define RNET_MB_PRIM_SIZE 500
39 #endif
40 #define RNET_MB_PRIM_WATERMARK (RNET_MB_PRIM_SIZE - 100)
41 /*@}*/
42
43 /**
44 * @name Generic functions
45 *
46 * Generic functions declarations needed for a type 2 SWE
47 * (Group Member SWE).
48 */
49 /*@{*/
50 T_RVM_RETURN rnet_get_info (T_RVM_INFO_SWE *info_swe);
51
52 T_RVM_RETURN rnet_set_info (T_RVF_ADDR_ID addr_id,
53 T_RV_RETURN_PATH return_path[],
54 T_RVF_MB_ID bk_id_table[],
55 T_RVM_CB_FUNC call_back_error_ft);
56
57 T_RVM_RETURN rnet_init (void);
58 T_RVM_RETURN rnet_start (void);
59
60 T_RVM_RETURN rnet_stop (void);
61 T_RVM_RETURN rnet_kill (void);
62 /*@}*/
63
64 #endif /* __RNET_ENV_H_ */
65