source: rtems/c/src/exec/sapi/optman/no-io.c @ 08311cc3

4.104.114.84.95
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 17, 1999 at 5:51:34 PM

Updated copyright notice.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1/*
2 *  Input/Output Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/rtems/status.h>
17#include <rtems/io.h>
18#include <rtems/score/isr.h>
19#include <rtems/score/thread.h>
20#include <rtems/score/interr.h>
21
22void _IO_Manager_initialization(
23  rtems_driver_address_table *driver_table,
24  unsigned32                  number_of_drivers,
25  unsigned32                  number_of_devices
26)
27{
28}
29
30void _IO_Initialize_all_drivers( void )
31{
32}
33
34rtems_status_code rtems_io_register_name(
35    char *device_name,
36    rtems_device_major_number major,
37    rtems_device_minor_number minor
38)
39{
40  _Internal_error_Occurred(
41    INTERNAL_ERROR_RTEMS_API,
42    FALSE,
43    RTEMS_NOT_CONFIGURED
44  );
45  return RTEMS_NOT_CONFIGURED;
46}
47
48rtems_status_code rtems_io_lookup_name(
49    const char *pathname,
50    rtems_driver_name_t **rnp
51)
52{
53  _Internal_error_Occurred(
54    INTERNAL_ERROR_RTEMS_API,
55    FALSE,
56    RTEMS_NOT_CONFIGURED
57  );
58  return RTEMS_NOT_CONFIGURED;
59}
60
61rtems_status_code rtems_io_initialize(
62  rtems_device_major_number  major,
63  rtems_device_minor_number  minor,
64  void             *argument
65)
66{
67  _Internal_error_Occurred(
68    INTERNAL_ERROR_RTEMS_API,
69    FALSE,
70    RTEMS_NOT_CONFIGURED
71  );
72  return RTEMS_NOT_CONFIGURED;
73}
74
75rtems_status_code rtems_io_open(
76  rtems_device_major_number  major,
77  rtems_device_minor_number  minor,
78  void             *argument
79)
80{
81  _Internal_error_Occurred(
82    INTERNAL_ERROR_RTEMS_API,
83    FALSE,
84    RTEMS_NOT_CONFIGURED
85  );
86  return RTEMS_NOT_CONFIGURED;
87}
88
89rtems_status_code rtems_io_close(
90  rtems_device_major_number  major,
91  rtems_device_minor_number  minor,
92  void             *argument
93)
94{
95  _Internal_error_Occurred(
96    INTERNAL_ERROR_RTEMS_API,
97    FALSE,
98    RTEMS_NOT_CONFIGURED
99  );
100  return RTEMS_NOT_CONFIGURED;
101}
102
103rtems_status_code rtems_io_read(
104  rtems_device_major_number  major,
105  rtems_device_minor_number  minor,
106  void             *argument
107)
108{
109  _Internal_error_Occurred(
110    INTERNAL_ERROR_RTEMS_API,
111    FALSE,
112    RTEMS_NOT_CONFIGURED
113  );
114  return RTEMS_NOT_CONFIGURED;
115}
116
117rtems_status_code rtems_io_write(
118  rtems_device_major_number  major,
119  rtems_device_minor_number  minor,
120  void             *argument
121)
122{
123  _Internal_error_Occurred(
124    INTERNAL_ERROR_RTEMS_API,
125    FALSE,
126    RTEMS_NOT_CONFIGURED
127  );
128  return RTEMS_NOT_CONFIGURED;
129}
130
131rtems_status_code rtems_io_control(
132  rtems_device_major_number  major,
133  rtems_device_minor_number  minor,
134  void             *argument
135)
136{
137  _Internal_error_Occurred(
138    INTERNAL_ERROR_RTEMS_API,
139    FALSE,
140    RTEMS_NOT_CONFIGURED
141  );
142  return RTEMS_NOT_CONFIGURED;
143}
Note: See TracBrowser for help on using the repository browser.