[ac7d5ef0] | 1 | /* |
---|
| 2 | * Input/Output Manager |
---|
| 3 | * |
---|
| 4 | * |
---|
[08311cc3] | 5 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 6 | * On-Line Applications Research Corporation (OAR). |
---|
| 7 | * |
---|
[98e4ebf5] | 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 10 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 11 | * |
---|
| 12 | * $Id$ |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | #include <rtems/system.h> |
---|
[3a4ae6c] | 16 | #include <rtems/rtems/status.h> |
---|
[ac7d5ef0] | 17 | #include <rtems/io.h> |
---|
[5e9b32b] | 18 | #include <rtems/score/isr.h> |
---|
| 19 | #include <rtems/score/thread.h> |
---|
[3b76313] | 20 | #include <rtems/score/interr.h> |
---|
[ac7d5ef0] | 21 | |
---|
[10017a72] | 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 | |
---|
[ac7d5ef0] | 30 | void _IO_Initialize_all_drivers( void ) |
---|
| 31 | { |
---|
| 32 | } |
---|
| 33 | |
---|
[b06e68ef] | 34 | rtems_status_code rtems_io_register_name( |
---|
| 35 | char *device_name, |
---|
| 36 | rtems_device_major_number major, |
---|
| 37 | rtems_device_minor_number minor |
---|
[3b76313] | 38 | ) |
---|
[b06e68ef] | 39 | { |
---|
[3b76313] | 40 | _Internal_error_Occurred( |
---|
| 41 | INTERNAL_ERROR_RTEMS_API, |
---|
| 42 | FALSE, |
---|
| 43 | RTEMS_NOT_CONFIGURED |
---|
| 44 | ); |
---|
[b06e68ef] | 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 |
---|
[3b76313] | 51 | ) |
---|
[b06e68ef] | 52 | { |
---|
[3b76313] | 53 | _Internal_error_Occurred( |
---|
| 54 | INTERNAL_ERROR_RTEMS_API, |
---|
| 55 | FALSE, |
---|
| 56 | RTEMS_NOT_CONFIGURED |
---|
| 57 | ); |
---|
[b06e68ef] | 58 | return RTEMS_NOT_CONFIGURED; |
---|
| 59 | } |
---|
| 60 | |
---|
[ac7d5ef0] | 61 | rtems_status_code rtems_io_initialize( |
---|
| 62 | rtems_device_major_number major, |
---|
| 63 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 64 | void *argument |
---|
[ac7d5ef0] | 65 | ) |
---|
| 66 | { |
---|
[3b76313] | 67 | _Internal_error_Occurred( |
---|
| 68 | INTERNAL_ERROR_RTEMS_API, |
---|
| 69 | FALSE, |
---|
| 70 | RTEMS_NOT_CONFIGURED |
---|
| 71 | ); |
---|
[3a4ae6c] | 72 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 73 | } |
---|
| 74 | |
---|
| 75 | rtems_status_code rtems_io_open( |
---|
| 76 | rtems_device_major_number major, |
---|
| 77 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 78 | void *argument |
---|
[ac7d5ef0] | 79 | ) |
---|
| 80 | { |
---|
[3b76313] | 81 | _Internal_error_Occurred( |
---|
| 82 | INTERNAL_ERROR_RTEMS_API, |
---|
| 83 | FALSE, |
---|
| 84 | RTEMS_NOT_CONFIGURED |
---|
| 85 | ); |
---|
[3a4ae6c] | 86 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 87 | } |
---|
| 88 | |
---|
| 89 | rtems_status_code rtems_io_close( |
---|
| 90 | rtems_device_major_number major, |
---|
| 91 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 92 | void *argument |
---|
[ac7d5ef0] | 93 | ) |
---|
| 94 | { |
---|
[3b76313] | 95 | _Internal_error_Occurred( |
---|
| 96 | INTERNAL_ERROR_RTEMS_API, |
---|
| 97 | FALSE, |
---|
| 98 | RTEMS_NOT_CONFIGURED |
---|
| 99 | ); |
---|
[3a4ae6c] | 100 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 101 | } |
---|
| 102 | |
---|
| 103 | rtems_status_code rtems_io_read( |
---|
| 104 | rtems_device_major_number major, |
---|
| 105 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 106 | void *argument |
---|
[ac7d5ef0] | 107 | ) |
---|
| 108 | { |
---|
[3b76313] | 109 | _Internal_error_Occurred( |
---|
| 110 | INTERNAL_ERROR_RTEMS_API, |
---|
| 111 | FALSE, |
---|
| 112 | RTEMS_NOT_CONFIGURED |
---|
| 113 | ); |
---|
[3a4ae6c] | 114 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 115 | } |
---|
| 116 | |
---|
| 117 | rtems_status_code rtems_io_write( |
---|
| 118 | rtems_device_major_number major, |
---|
| 119 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 120 | void *argument |
---|
[ac7d5ef0] | 121 | ) |
---|
| 122 | { |
---|
[3b76313] | 123 | _Internal_error_Occurred( |
---|
| 124 | INTERNAL_ERROR_RTEMS_API, |
---|
| 125 | FALSE, |
---|
| 126 | RTEMS_NOT_CONFIGURED |
---|
| 127 | ); |
---|
[3a4ae6c] | 128 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 129 | } |
---|
| 130 | |
---|
| 131 | rtems_status_code rtems_io_control( |
---|
| 132 | rtems_device_major_number major, |
---|
| 133 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 134 | void *argument |
---|
[ac7d5ef0] | 135 | ) |
---|
| 136 | { |
---|
[3b76313] | 137 | _Internal_error_Occurred( |
---|
| 138 | INTERNAL_ERROR_RTEMS_API, |
---|
| 139 | FALSE, |
---|
| 140 | RTEMS_NOT_CONFIGURED |
---|
| 141 | ); |
---|
[3a4ae6c] | 142 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 143 | } |
---|