blob: 99caa48b05cf07a83427c39996c377a991a71ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* Copyright (C) ST-Ericsson SA 2010. All rights reserved.
* This code is ST-Ericsson proprietary and confidential.
* Any use of the code for whatever purpose is subject to
* specific written permission of ST-Ericsson SA.
*/
#ifndef __INC_NMF_FIFO_DESC
#define __INC_NMF_FIFO_DESC
#include <inc/typedef.h>
#include <share/semaphores/inc/semaphores.h>
/*
* SHOULD be mapped onto a AHB burst (16 bytes=8x16-bit)
*/
typedef struct {
t_semaphore_id semId;
t_uint16 elemSize;
t_uint16 fifoFullValue;
t_uint16 readIndex;
t_uint16 writeIndex;
t_uint16 wrappingValue;
t_uint32 extendedField; /* in DSP 24 memory when to MPC in Logical Host when to ARM */
} t_nmf_fifo_desc;
#define EXTENDED_FIELD_BCTHIS_OR_TOP 0 //<! This field will be used:
//<! - as hostBCThis for DSP->HOST binding
//<! - as TOP else
#define EXTENDED_FIELD_BCDESC 1 //<! This field will be used for:
//<! - interface method address for ->MPC binding
//<! - for params size for ->Host binding (today only [0] is used as max size)
#endif /* __INC_NMF_FIFO */
|