OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [sapi/] [optman/] [no-io.c] - Blame information for rev 735

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: no-io.c,v 1.2 2001-09-27 11:59:20 chris Exp $
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
 
22
void _IO_Manager_initialization(
23
  rtems_driver_address_table *driver_table,
24
  unsigned32                  number_of_drivers,
25
  unsigned32                  number_of_devices
26
)
27
{
28
}
29
 
30
void _IO_Initialize_all_drivers( void )
31
{
32
}
33
 
34
rtems_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
 
48
rtems_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
 
61
rtems_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
 
75
rtems_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
 
89
rtems_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
 
103
rtems_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
 
117
rtems_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
 
131
rtems_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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.