FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/nucleus/ev_extr.h @ 143:afceeeb2cba1
Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 12 Nov 2013 05:35:48 +0000 |
parents | nuc-fw/nucleus/ev_extr.h@947b1f473960 |
children |
comparison
equal
deleted
inserted
replaced
142:15d5977390c2 | 143:afceeeb2cba1 |
---|---|
1 /*************************************************************************/ | |
2 /* */ | |
3 /* Copyright Mentor Graphics Corporation 2002 */ | |
4 /* All Rights Reserved. */ | |
5 /* */ | |
6 /* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS */ | |
7 /* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS */ | |
8 /* SUBJECT TO LICENSE TERMS. */ | |
9 /* */ | |
10 /*************************************************************************/ | |
11 | |
12 /*************************************************************************/ | |
13 /* */ | |
14 /* FILE NAME VERSION */ | |
15 /* */ | |
16 /* ev_extr.h Nucleus PLUS 1.14 */ | |
17 /* */ | |
18 /* COMPONENT */ | |
19 /* */ | |
20 /* EV - Event Group Management */ | |
21 /* */ | |
22 /* DESCRIPTION */ | |
23 /* */ | |
24 /* This file contains function prototypes of all functions */ | |
25 /* accessible to other components. */ | |
26 /* */ | |
27 /* DATA STRUCTURES */ | |
28 /* */ | |
29 /* None */ | |
30 /* */ | |
31 /* FUNCTIONS */ | |
32 /* */ | |
33 /* None */ | |
34 /* */ | |
35 /* DEPENDENCIES */ | |
36 /* */ | |
37 /* ev_defs.h Event Flag management consts */ | |
38 /* */ | |
39 /* HISTORY */ | |
40 /* */ | |
41 /* DATE REMARKS */ | |
42 /* */ | |
43 /* 03-01-1993 Created initial version 1.0 */ | |
44 /* 04-19-1993 Verified version 1.0 */ | |
45 /* 03-01-1994 Moved include files outside of */ | |
46 /* the file #ifndef to allow the */ | |
47 /* use of actual data structures, */ | |
48 /* modified function prototypes, */ | |
49 /* resulting in version 1.1 */ | |
50 /* */ | |
51 /* 03-18-1994 Verified version 1.1 */ | |
52 /* 04-17-1996 updated to version 1.2 */ | |
53 /* 03-24-1998 Released version 1.3 */ | |
54 /* 03-26-1999 Released 1.11m (new release */ | |
55 /* numbering scheme) */ | |
56 /* 04-17-2002 Released version 1.13m */ | |
57 /* 11-07-2002 Released version 1.14 */ | |
58 /*************************************************************************/ | |
59 | |
60 #include "ev_defs.h" /* Include EV constants */ | |
61 | |
62 | |
63 /* Check to see if the file has been included already. */ | |
64 | |
65 #ifndef EV_EXTR | |
66 #define EV_EXTR | |
67 | |
68 | |
69 /* Initialization functions. */ | |
70 | |
71 VOID EVI_Initialize(VOID); | |
72 | |
73 | |
74 /* Error checking functions. */ | |
75 | |
76 STATUS EVCE_Create_Event_Group(NU_EVENT_GROUP *group_ptr, CHAR *name); | |
77 STATUS EVCE_Delete_Event_Group(NU_EVENT_GROUP *group_ptr); | |
78 STATUS EVCE_Set_Events(NU_EVENT_GROUP *group_ptr, UNSIGNED events, | |
79 OPTION operation); | |
80 STATUS EVCE_Retrieve_Events(NU_EVENT_GROUP *group_ptr, | |
81 UNSIGNED requested_flags, OPTION operation, | |
82 UNSIGNED *retrieved_flags, UNSIGNED suspend); | |
83 | |
84 /* Core processing functions. */ | |
85 | |
86 | |
87 STATUS EVC_Create_Event_Group(NU_EVENT_GROUP *group_ptr, CHAR *name); | |
88 STATUS EVC_Delete_Event_Group(NU_EVENT_GROUP *group_ptr); | |
89 STATUS EVC_Set_Events(NU_EVENT_GROUP *group_ptr, UNSIGNED events, | |
90 OPTION operation); | |
91 STATUS EVC_Retrieve_Events(NU_EVENT_GROUP *group_ptr, | |
92 UNSIGNED requested_flags, OPTION operation, | |
93 UNSIGNED *retrieved_flags, UNSIGNED suspend); | |
94 | |
95 | |
96 /* Information retrieval functions. */ | |
97 | |
98 UNSIGNED EVF_Established_Event_Groups(VOID); | |
99 STATUS EVF_Event_Group_Information(NU_EVENT_GROUP *group_ptr, | |
100 CHAR *name, UNSIGNED *event_flags, | |
101 UNSIGNED *tasks_waiting, NU_TASK **first_task); | |
102 UNSIGNED EVF_Event_Group_Pointers(NU_EVENT_GROUP **pointer_list, | |
103 UNSIGNED maximum_pointers); | |
104 #endif | |
105 | |
106 | |
107 | |
108 | |
109 |