comparison src/nucleus/iod.c @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
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 /* iod.c Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* IO - Input/Output Driver Management */
21 /* */
22 /* DESCRIPTION */
23 /* */
24 /* This file contains global data structures for use within the */
25 /* Input/Output Driver Management component. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* IOD_Created_Drivers_List Pointer to the linked-list */
30 /* of created I/O drivers */
31 /* IOD_Total_Drivers Total number of created */
32 /* I/O drivers */
33 /* IOD_List_Protect I/O driver list protection */
34 /* */
35 /* FUNCTIONS */
36 /* */
37 /* None */
38 /* */
39 /* DEPENDENCIES */
40 /* */
41 /* io_defs.h I/O Driver Management consts */
42 /* tc_defs.h Thread Control constants */
43 /* */
44 /* HISTORY */
45 /* */
46 /* DATE REMARKS */
47 /* */
48 /* 03-01-1993 Created initial version 1.0 */
49 /* 04-19-1993 Verified version 1.0 */
50 /* 03-01-1994 Updated copyright notice, */
51 /* resulting in version 1.1 */
52 /* */
53 /* 03-18-1994 Verified version 1.1 */
54 /* 04-17-1996 updated to version 1.2 */
55 /* 03-24-1998 Released version 1.3 */
56 /* 03-26-1999 Released 1.11m (new release */
57 /* numbering scheme) */
58 /* 04-17-2002 Released version 1.13m */
59 /* 11-07-2002 Released version 1.14 */
60 /*************************************************************************/
61 #define NU_SOURCE_FILE
62
63 #include "io_defs.h" /* I/O Driver constants */
64 #include "tc_defs.h" /* Thread control constants */
65
66
67 /* IOD_Created_Drivers_List is the head pointer of the linked list of
68 created I/O drivers. If the list is NU_NULL, there are no I/O drivers
69 created. */
70
71 CS_NODE *IOD_Created_Drivers_List;
72
73
74 /* IOD_Total_Drivers contains the number of currently created
75 I/O drivers. */
76
77 UNSIGNED IOD_Total_Drivers;
78
79
80 /* IOD_List_Protect is a list protection structure used to block any other
81 thread from access to the created drivers list. */
82
83 TC_PROTECT IOD_List_Protect;
84
85
86
87
88
89