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

4.104.114.84.95
Last change on this file since c83b5678 was c83b5678, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 31, 2004 at 8:29:14 AM

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • optman/rtems/no-dpmem.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c, optman/rtems/no-part.c, optman/rtems/no-region.c, optman/rtems/no-rtmon.c, optman/rtems/no-sem.c, optman/rtems/no-timer.c, optman/sapi/no-ext.c, optman/sapi/no-io.c: Convert to using c99 fixed size types.
  • 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.rtems.com/license/LICENSE.
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  uint32_t                    drivers_in_table,
25  uint32_t                    number_of_drivers,
26  uint32_t                    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.