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

Last change on this file since c8f3e82 was da2151f4, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 3, 2003 at 11:56:29 PM

2003-02-03 Joel Sherrill <joel@…>

PR 338/filesystem

  • sapi/no-io.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change). Unused function removed.
  • Property mode set to 100644
File size: 3.1 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                  drivers_in_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_driver(
36    rtems_device_major_number   major,
37    rtems_driver_address_table *driver_table,
38    rtems_device_major_number  *registered_major
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_unregister_driver(
50    rtems_device_major_number major
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_register_name(
62    char *device_name,
63    rtems_device_major_number major,
64    rtems_device_minor_number minor
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_initialize(
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_open(
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_close(
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_read(
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_write(
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}
144
145rtems_status_code rtems_io_control(
146  rtems_device_major_number  major,
147  rtems_device_minor_number  minor,
148  void             *argument
149)
150{
151  _Internal_error_Occurred(
152    INTERNAL_ERROR_RTEMS_API,
153    FALSE,
154    RTEMS_NOT_CONFIGURED
155  );
156  return RTEMS_NOT_CONFIGURED;
157}
Note: See TracBrowser for help on using the repository browser.