[ac7d5ef0] | 1 | /* |
---|
| 2 | * Input/Output Manager |
---|
| 3 | * |
---|
| 4 | * |
---|
| 5 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
| 6 | * On-Line Applications Research Corporation (OAR). |
---|
| 7 | * All rights assigned to U.S. Government, 1994. |
---|
| 8 | * |
---|
| 9 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
| 10 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
| 11 | * notice must appear in all copies of this file and its derivatives. |
---|
| 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include <rtems/system.h> |
---|
[3a4ae6c] | 17 | #include <rtems/rtems/status.h> |
---|
[ac7d5ef0] | 18 | #include <rtems/io.h> |
---|
[5e9b32b] | 19 | #include <rtems/score/isr.h> |
---|
| 20 | #include <rtems/score/thread.h> |
---|
[3b76313] | 21 | #include <rtems/score/interr.h> |
---|
[ac7d5ef0] | 22 | |
---|
[10017a72] | 23 | void _IO_Manager_initialization( |
---|
| 24 | rtems_driver_address_table *driver_table, |
---|
| 25 | unsigned32 number_of_drivers, |
---|
| 26 | unsigned32 number_of_devices |
---|
| 27 | ) |
---|
| 28 | { |
---|
| 29 | } |
---|
| 30 | |
---|
[ac7d5ef0] | 31 | void _IO_Initialize_all_drivers( void ) |
---|
| 32 | { |
---|
| 33 | } |
---|
| 34 | |
---|
[b06e68ef] | 35 | rtems_status_code rtems_io_register_name( |
---|
| 36 | char *device_name, |
---|
| 37 | rtems_device_major_number major, |
---|
| 38 | rtems_device_minor_number minor |
---|
[3b76313] | 39 | ) |
---|
[b06e68ef] | 40 | { |
---|
[3b76313] | 41 | _Internal_error_Occurred( |
---|
| 42 | INTERNAL_ERROR_RTEMS_API, |
---|
| 43 | FALSE, |
---|
| 44 | RTEMS_NOT_CONFIGURED |
---|
| 45 | ); |
---|
[b06e68ef] | 46 | return RTEMS_NOT_CONFIGURED; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | rtems_status_code rtems_io_lookup_name( |
---|
| 50 | const char *pathname, |
---|
| 51 | rtems_driver_name_t **rnp |
---|
[3b76313] | 52 | ) |
---|
[b06e68ef] | 53 | { |
---|
[3b76313] | 54 | _Internal_error_Occurred( |
---|
| 55 | INTERNAL_ERROR_RTEMS_API, |
---|
| 56 | FALSE, |
---|
| 57 | RTEMS_NOT_CONFIGURED |
---|
| 58 | ); |
---|
[b06e68ef] | 59 | return RTEMS_NOT_CONFIGURED; |
---|
| 60 | } |
---|
| 61 | |
---|
[ac7d5ef0] | 62 | rtems_status_code rtems_io_initialize( |
---|
| 63 | rtems_device_major_number major, |
---|
| 64 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 65 | void *argument |
---|
[ac7d5ef0] | 66 | ) |
---|
| 67 | { |
---|
[3b76313] | 68 | _Internal_error_Occurred( |
---|
| 69 | INTERNAL_ERROR_RTEMS_API, |
---|
| 70 | FALSE, |
---|
| 71 | RTEMS_NOT_CONFIGURED |
---|
| 72 | ); |
---|
[3a4ae6c] | 73 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 74 | } |
---|
| 75 | |
---|
| 76 | rtems_status_code rtems_io_open( |
---|
| 77 | rtems_device_major_number major, |
---|
| 78 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 79 | void *argument |
---|
[ac7d5ef0] | 80 | ) |
---|
| 81 | { |
---|
[3b76313] | 82 | _Internal_error_Occurred( |
---|
| 83 | INTERNAL_ERROR_RTEMS_API, |
---|
| 84 | FALSE, |
---|
| 85 | RTEMS_NOT_CONFIGURED |
---|
| 86 | ); |
---|
[3a4ae6c] | 87 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 88 | } |
---|
| 89 | |
---|
| 90 | rtems_status_code rtems_io_close( |
---|
| 91 | rtems_device_major_number major, |
---|
| 92 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 93 | void *argument |
---|
[ac7d5ef0] | 94 | ) |
---|
| 95 | { |
---|
[3b76313] | 96 | _Internal_error_Occurred( |
---|
| 97 | INTERNAL_ERROR_RTEMS_API, |
---|
| 98 | FALSE, |
---|
| 99 | RTEMS_NOT_CONFIGURED |
---|
| 100 | ); |
---|
[3a4ae6c] | 101 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 102 | } |
---|
| 103 | |
---|
| 104 | rtems_status_code rtems_io_read( |
---|
| 105 | rtems_device_major_number major, |
---|
| 106 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 107 | void *argument |
---|
[ac7d5ef0] | 108 | ) |
---|
| 109 | { |
---|
[3b76313] | 110 | _Internal_error_Occurred( |
---|
| 111 | INTERNAL_ERROR_RTEMS_API, |
---|
| 112 | FALSE, |
---|
| 113 | RTEMS_NOT_CONFIGURED |
---|
| 114 | ); |
---|
[3a4ae6c] | 115 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 116 | } |
---|
| 117 | |
---|
| 118 | rtems_status_code rtems_io_write( |
---|
| 119 | rtems_device_major_number major, |
---|
| 120 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 121 | void *argument |
---|
[ac7d5ef0] | 122 | ) |
---|
| 123 | { |
---|
[3b76313] | 124 | _Internal_error_Occurred( |
---|
| 125 | INTERNAL_ERROR_RTEMS_API, |
---|
| 126 | FALSE, |
---|
| 127 | RTEMS_NOT_CONFIGURED |
---|
| 128 | ); |
---|
[3a4ae6c] | 129 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 130 | } |
---|
| 131 | |
---|
| 132 | rtems_status_code rtems_io_control( |
---|
| 133 | rtems_device_major_number major, |
---|
| 134 | rtems_device_minor_number minor, |
---|
[b06e68ef] | 135 | void *argument |
---|
[ac7d5ef0] | 136 | ) |
---|
| 137 | { |
---|
[3b76313] | 138 | _Internal_error_Occurred( |
---|
| 139 | INTERNAL_ERROR_RTEMS_API, |
---|
| 140 | FALSE, |
---|
| 141 | RTEMS_NOT_CONFIGURED |
---|
| 142 | ); |
---|
[3a4ae6c] | 143 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 144 | } |
---|