FreeCalypso > hg > tcs211-l1-reconst
comparison gpf/tst/idle.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: idle.h | |
4 +------------------------------------------------------------------------------ | |
5 | Copyright Texas Instruments 2002 | |
6 | All rights reserved. | |
7 | | |
8 +------------------------------------------------------------------------------ | |
9 | Purpose: Definitions for the IDLE entity. | |
10 | $Identity:$ | |
11 +------------------------------------------------------------------------------ | |
12 */ | |
13 | |
14 #ifndef IDLE_H | |
15 #define IDLE_H | |
16 | |
17 /*==== INCLUDES ==============================================================*/ | |
18 | |
19 /*==== CONSTS ================================================================*/ | |
20 | |
21 #ifdef VSI_CALLER | |
22 #undef VSI_CALLER | |
23 #define VSI_CALLER idle_handle, | |
24 #define VSI_CALLER_SINGLE idle_handle | |
25 #endif | |
26 | |
27 #define hCommTST idle_hCommTST /* Communication handle to TST */ | |
28 | |
29 #define IDLE_REQ 0x00000010 | |
30 #define IDLE_CNF 0x00010010 | |
31 | |
32 | |
33 #ifndef __T_IDLE_CNF__ | |
34 #define __T_IDLE_CNF__ | |
35 typedef struct | |
36 { | |
37 U8 dummy; /*< 0: 1> */ | |
38 } T_IDLE_CNF; | |
39 #endif | |
40 | |
41 #ifndef __T_IDLE_REQ__ | |
42 #define __T_IDLE_REQ__ | |
43 typedef struct | |
44 { | |
45 U8 dummy; /*< 0: 1> */ | |
46 } T_IDLE_REQ; | |
47 #endif | |
48 | |
49 /*==== TYPES =================================================================*/ | |
50 | |
51 /*==== EXPORTS ===============================================================*/ | |
52 | |
53 #ifdef IDLE_PEI_C | |
54 | |
55 /* Communication handles */ | |
56 T_HANDLE idle_handle; | |
57 T_HANDLE hCommTST = VSI_ERROR; | |
58 | |
59 #else /* IDLE_PEI_C */ | |
60 | |
61 extern T_HANDLE idle_handle; | |
62 extern T_HANDLE hCommTST; | |
63 | |
64 #endif /* IDLE_PEI_C */ | |
65 | |
66 #endif /* IDLE_H */ | |
67 | |
68 /*==== END OF FILE ===========================================================*/ |