comparison services/dar/dar_messages_i.h @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
1 /****************************************************************************/
2 /* */
3 /* File Name: dar_messages_i.h */
4 /* */
5 /* Purpose: Internal messages used by DAR instance */
6 /* */
7 /* */
8 /* Version 0.1 */
9 /* */
10 /* Date Modification */
11 /* ------------------------------------ */
12 /* 17 october 2001 Create */
13 /* */
14 /* Author Stephanie Gerthoux */
15 /* */
16 /* */
17 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/
18 /****************************************************************************/
19
20 #include "../../riviera/rv/rv_defined_swe.h"
21 #ifdef RVM_DAR_SWE
22 #ifndef __DAR_MESSAGES_I_H_
23 #define __DAR_MESSAGES_I_H_
24
25 #include "dar_structs_i.h"
26
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31
32 /************************ Diagnose messages *****************************/
33 /* Diagnose filter and no filter messages */
34 #define DAR_FILTER_REQ (0x0001 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
35
36 /* Diagnose filter structure */
37 typedef struct
38 {
39 T_RV_HDR os_hdr;
40 T_DAR_MSG_PARAM use_msg_parameter;
41 T_RV_RETURN return_path;
42 } T_DAR_FILTER_START;
43
44 /* Diagnose write messages */
45 #define DAR_WRITE_REQ (0x0003 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
46
47 /* Diagnose write data structure */
48 typedef struct
49 {
50 T_RV_HDR os_hdr;
51 T_DAR_WRITE data_write;
52 T_RV_RETURN return_path;
53 } T_DAR_WRITE_START;
54
55 /************************** FFS interface *******************************/
56 /* FFS RAM to FLASH interface */
57 /* start message */
58 #define DAR_FFS_RAM_2_FLASH_START_REQ \
59 (0x0004 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
60 typedef struct
61 {
62 T_RV_HDR os_hdr;
63 UINT16 initial_size;
64 } T_DAR_FFS_RAM_2_FLASH_START;
65
66 /* start confirmation message */
67 #define DAR_FFS_INIT_DONE (0x0005 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
68
69 typedef struct
70 {
71 T_RV_HDR os_hdr;
72 } T_DAR_FFS_INIT;
73
74 /* stop message */
75 #define DAR_FFS_STOP_REQ (0x0006 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
76 typedef struct
77 {
78 T_RV_HDR os_hdr;
79 } T_DAR_FFS_STOP;
80
81 /* stop confirmation message */
82 #define DAR_FFS_STOP_CON (0x0007 | DAR_EVENT_INTERN | DAR_EVENTS_MASK)
83
84 #ifdef __cplusplus
85 }
86 #endif
87
88 #endif /* __DAR_MESSAGES_I_ */
89
90 #endif /* #ifdef RVM_DAR_SWE */