comparison src/cs/services/tty/tty_env.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /**
2 * @file tty_env.h
3 *
4 * Declarations of the Riviera Generic Functions
5 *
6 * @author Frederic Turgis (f-turgis@ti.com) & Gerard Cauvy (g-cauvy@ti.com)
7 * @version 0.1
8 */
9
10 /*
11 * History:
12 *
13 * Date Modification
14 * ------------------------------------
15 * 01/27/2003 Create
16 *
17 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
18 */
19
20 #ifndef __TTY_ENV_H_
21 #define __TTY_ENV_H_
22
23
24 #include "rvm/rvm_gen.h" /* Generic RVM types and functions. */
25 //#include "rvf/rvf_pool_size.h" /* Stack & Memory Bank sizes definitions */
26 #include "tty/tty_pool_size.h" /* Stack & Memory Bank sizes definitions */
27
28
29 /**
30 * @name Mem bank
31 *
32 * Memory bank size and watermark.
33 */
34 /*@{*/
35 #define TTY_MB_PRIM_SIZE TTY_MB1_SIZE
36 #define TTY_MB_PRIM_WATERMARK (TTY_MB_PRIM_SIZE - 256)
37 /*@}*/
38
39
40 /**
41 * @name Generic functions
42 *
43 * Generic functions declarations needed for a type 2 SWE
44 * (Group Member SWE).
45 */
46 /*@{*/
47 T_RVM_RETURN tty_get_info (T_RVM_INFO_SWE *info_swe);
48
49 T_RVM_RETURN tty_set_info ( T_RVF_G_ADDR_ID addr_id,
50 T_RV_RETURN_PATH return_path[],
51 T_RVF_MB_ID bk_id_table[],
52 T_RVM_CB_FUNC call_back_error_ft);
53
54 T_RVM_RETURN tty_init (void);
55
56 T_RVM_RETURN tty_stop (void);
57
58 T_RVM_RETURN tty_kill (void);
59 /*@}*/
60
61 #endif /*__TTY_ENV_H_*/
62