comparison chipsetsw/drivers/drv_app/ffs/ffs_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: ffs_env.h */
4 /* */
5 /* Purpose: This file contains prototypes for RV manager related */
6 /* functions used to get info, start and stop the ffs block. */
7 /* */
8 /* Version 0.1 */
9 /* */
10 /* Date Modification */
11 /* ------------------------------------ */
12 /* 10/24/2000 Create */
13 /* */
14 /* Author Pascal Puel */
15 /* */
16 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved*/
17 /****************************************************************************/
18 #ifndef __FFS_ENV_H_
19 #define __FFS_ENV_H_
20
21
22 #include "rvm/rvm_gen.h"
23 #include "ffs/ffs_pool_size.h" /* Stack & Memory Bank sizes definitions */
24
25
26 /* FFS mailbox */
27 #define FFS_MAILBOX RVF_TASK_MBOX_0
28
29 /* min mem size: fd_max * fd_buf_size + 1k */
30 /* memory bank size and watermark */
31 #define FFS_MB_PRIM_SIZE FFS_MB1_SIZE
32
33 #define FFS_MB_PRIM_WATERMARK (FFS_MB_PRIM_SIZE - 3000)
34
35
36 typedef struct
37 {
38 T_RVF_MB_ID mbid;
39 T_RVF_ADDR_ID addr_id;
40 } T_FFS_TASK_INFO;
41
42 extern T_FFS_TASK_INFO ffs_task_info;
43
44 /* generic functions declarations */
45 T_RVM_RETURN ffs_get_info (T_RVM_INFO_SWE *infoSWE);
46 T_RVM_RETURN ffs_set_info(T_RVF_ADDR_ID addr_id,
47 T_RV_RETURN ReturnPath[],
48 T_RVF_MB_ID mbId[],
49 T_RVM_RETURN (*callBackFct)(T_RVM_NAME SWEntName,
50 T_RVM_RETURN errorCause,
51 T_RVM_ERROR_TYPE errorType,
52 T_RVM_STRING errorMsg));
53 T_RVM_RETURN ffs_init (void);
54 T_RVM_RETURN ffs_start (void);
55 T_RVM_RETURN ffs_stop (void);
56 T_RVM_RETURN ffs_kill (void);
57
58 #endif /*__FFS_ENV_H_*/
59