comparison src/nucleus/io_extr.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
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 /* io_extr.h Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* IO - Input/Output Driver 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 /* io_defs.h I/O Driver Management consts */
38 /* tc_defs.h Thread control constants */
39 /* */
40 /* HISTORY */
41 /* */
42 /* DATE REMARKS */
43 /* */
44 /* 03-01-1993 Created initial version 1.0 */
45 /* 04-19-1993 Verified version 1.0 */
46 /* 03-01-1994 Moved include files outside of */
47 /* the file #ifndef to allow the */
48 /* use of actual data structures, */
49 /* changed function interfaces, */
50 /* resulting in version 1.1 */
51 /* */
52 /* 03-18-1994 Verified version 1.1 */
53 /* 04-17-1996 updated to version 1.2 */
54 /* 03-24-1998 Released version 1.3 */
55 /* 03-26-1999 Released 1.11m (new release */
56 /* numbering scheme) */
57 /* 04-17-2002 Released version 1.13m */
58 /* 11-07-2002 Released version 1.14 */
59 /*************************************************************************/
60
61 #include "io_defs.h" /* Include IO constants */
62 #include "tc_defs.h" /* Thread control constants */
63
64
65 /* Check to see if the file has been included already. */
66
67 #ifndef IO_EXTR
68 #define IO_EXTR
69
70
71 /* Initialization functions. */
72
73 VOID IOI_Initialize(VOID);
74
75
76 /* Error checking functions. */
77
78 STATUS IOCE_Create_Driver(NU_DRIVER *driver, CHAR *name,
79 VOID (*driver_entry)(NU_DRIVER *, NU_DRIVER_REQUEST *));
80 STATUS IOCE_Delete_Driver(NU_DRIVER *driver);
81 STATUS IOCE_Request_Driver(NU_DRIVER *driver,
82 NU_DRIVER_REQUEST *request);
83 STATUS IOCE_Resume_Driver(NU_TASK *task);
84 STATUS IOCE_Suspend_Driver(VOID (*terminate_routine)(VOID *),
85 VOID *information, UNSIGNED timeout);
86
87
88 /* Core processing functions. */
89
90 STATUS IOC_Create_Driver(NU_DRIVER *driver, CHAR *name,
91 VOID (*driver_entry)(NU_DRIVER *, NU_DRIVER_REQUEST *));
92 STATUS IOC_Delete_Driver(NU_DRIVER *driver);
93 STATUS IOC_Request_Driver(NU_DRIVER *driver,
94 NU_DRIVER_REQUEST *request);
95 STATUS IOC_Resume_Driver(NU_TASK *task);
96 STATUS IOC_Suspend_Driver(VOID (*terminate_routine)(VOID *),
97 VOID *information, UNSIGNED timeout);
98
99
100 /* Information retrieval functions. */
101
102 UNSIGNED IOF_Established_Drivers(VOID);
103 UNSIGNED IOF_Driver_Pointers(NU_DRIVER **pointer_list,
104 UNSIGNED maximum_pointers);
105
106 #endif
107
108
109
110
111