comparison chipsetsw/services/dar/dar_env.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /****************************************************************************/
2 /* */
3 /* File Name: dar_env.h */
4 /* */
5 /* Purpose: This file contains prototypes for Riviera Environment related */
6 /* functions used to get info, start and stop the diagnose block.*/
7 /* */
8 /* Version 0.1 */
9 /* */
10 /* Date Modification */
11 /* ------------------------------------ */
12 /* 26 september 2001 Create */
13 /* */
14 /* Author Stephanie Gerthoux */
15 /* */
16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/
17 /****************************************************************************/
18
19 #include "rv/rv_defined_swe.h"
20 #ifdef RVM_DAR_SWE
21 #include "dar/dar_structs_i.h"
22
23 #include "dar/dar_pool_size.h" /* Stack & Memory Bank sizes definitions */
24
25
26 #ifndef __DAR_ENV_H_
27 #define __DAR_ENV_H_
28
29 /* memory bank size and watermark */
30 #define DAR_MB_SIZE DAR_MB1_SIZE
31 #define DAR_MB_WATERMARK DAR_MB_SIZE
32
33 /* definition of RVT state*/
34 typedef INT8 T_DAR_STATE;
35
36 /* possible values */
37 #define DAR_STARTED (0)
38 #define DAR_NOT_STARTED (-1)
39
40 /* generic functions declarations */
41 T_RVM_RETURN dar_get_info (T_RVM_INFO_SWE *infoSWEnt);
42
43 T_RVM_RETURN dar_set_info(T_RVF_ADDR_ID addrId,
44 T_RV_RETURN return_path[],
45 T_RVF_MB_ID mbId[],
46 T_RVM_RETURN (*callBackFctError) ( T_RVM_NAME SWEntName,
47 T_RVM_RETURN errorCause,
48 T_RVM_ERROR_TYPE errorType,
49 T_RVM_STRING errorMsg) );
50
51 T_RVM_RETURN dar_init (void);
52
53 T_RVM_RETURN dar_stop (void);
54
55 T_RVM_RETURN dar_kill (void);
56
57 #endif /*__DAR_ENV_H_*/
58
59 #endif /* #ifdef RVM_DAR_SWE */