comparison gsm-fw/nucleus/pii.c @ 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/pii.c@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 /* pii.c Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* PI - Pipe Management */
21 /* */
22 /* DESCRIPTION */
23 /* */
24 /* This file contains the initialization routine for the pipe */
25 /* management component. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* None */
30 /* */
31 /* FUNCTIONS */
32 /* */
33 /* PII_Initialize Pipe Management Initialize */
34 /* */
35 /* DEPENDENCIES */
36 /* */
37 /* pi_defs.h Pipe component constants */
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 Modified copyright, resulting in */
46 /* version 1.1 */
47 /* */
48 /* 03-18-1994 Verified version 1.1 */
49 /* 04-17-1996 updated to version 1.2 */
50 /* 03-24-1998 Released version 1.3 */
51 /* 03-26-1999 Released 1.11m (new release */
52 /* numbering scheme) */
53 /* 04-17-2002 Released version 1.13m */
54 /* 11-07-2002 Released version 1.14 */
55 /*************************************************************************/
56 #define NU_SOURCE_FILE
57
58
59 #include "pi_defs.h" /* Pipe constants */
60 #include "pi_extr.h" /* Pipe interfaces */
61
62
63 /* Define external inner-component global data references. */
64
65 extern CS_NODE *PID_Created_Pipes_List;
66 extern UNSIGNED PID_Total_Pipes;
67 extern TC_PROTECT PID_List_Protect;
68
69
70 /*************************************************************************/
71 /* */
72 /* FUNCTION */
73 /* */
74 /* PII_Initialize */
75 /* */
76 /* DESCRIPTION */
77 /* */
78 /* This function initializes the data structures that control the */
79 /* operation of the Pipe component (PI). There are no pipes */
80 /* initially. */
81 /* */
82 /* CALLED BY */
83 /* */
84 /* INC_Initialize System initialization */
85 /* */
86 /* CALLS */
87 /* */
88 /* None */
89 /* */
90 /* INPUTS */
91 /* */
92 /* None */
93 /* */
94 /* OUTPUTS */
95 /* */
96 /* PID_Created_Pipes_List List of created pipes */
97 /* PID_Total_Pipes Number of created pipes */
98 /* PID_List_Protect Protection for pipe list */
99 /* */
100 /* HISTORY */
101 /* */
102 /* DATE REMARKS */
103 /* */
104 /* 03-01-1993 Created initial version 1.0 */
105 /* 04-19-1993 Verified version 1.0 */
106 /* */
107 /*************************************************************************/
108 VOID PII_Initialize(VOID)
109 {
110
111 /* Initialize the created pipe list to NU_NULL. */
112 PID_Created_Pipes_List = NU_NULL;
113
114 /* Initialize the total number of created pipes to 0. */
115 PID_Total_Pipes = 0;
116
117 /* Initialize the list protection structure. */
118 PID_List_Protect.tc_tcb_pointer = NU_NULL;
119 }
120
121
122
123
124
125