source: rtems/c/src/optman/sapi/no-io.c @ 9eef52b

4.104.114.84.95
Last change on this file since 9eef52b was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 11:46:28 PM

updated copyright to 1998

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