Changeset 4522dba in rtems


Ignore:
Timestamp:
May 29, 2007, 7:59:46 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a607c872
Parents:
9c556023
Message:

2007-05-29 Joel Sherrill <joel.sherrill@…>

  • optman/sapi/no-io.c: Split IO Manager into one function per file so now we only need required initialization methods.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r9c556023 r4522dba  
     12007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * optman/sapi/no-io.c: Split IO Manager into one function per file so
     4        now we only need required initialization methods.
     5
    162007-05-29      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/optman/sapi/no-io.c

    r9c556023 r4522dba  
    3131{
    3232}
    33 
    34 rtems_status_code rtems_io_register_driver(
    35     rtems_device_major_number   major,
    36     rtems_driver_address_table *driver_table,
    37     rtems_device_major_number  *registered_major
    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_unregister_driver(
    49     rtems_device_major_number major
    50 )
    51 {
    52   _Internal_error_Occurred(
    53     INTERNAL_ERROR_RTEMS_API,
    54     FALSE,
    55     RTEMS_NOT_CONFIGURED
    56   );
    57   return RTEMS_NOT_CONFIGURED;
    58 }
    59  
    60 rtems_status_code rtems_io_register_name(
    61     const char                *device_name,
    62     rtems_device_major_number  major,
    63     rtems_device_minor_number  minor
    64 )
    65 {
    66   _Internal_error_Occurred(
    67     INTERNAL_ERROR_RTEMS_API,
    68     FALSE,
    69     RTEMS_NOT_CONFIGURED
    70   );
    71   return RTEMS_NOT_CONFIGURED;
    72 }
    73 
    74 rtems_status_code rtems_io_initialize(
    75   rtems_device_major_number  major,
    76   rtems_device_minor_number  minor,
    77   void             *argument
    78 )
    79 {
    80   _Internal_error_Occurred(
    81     INTERNAL_ERROR_RTEMS_API,
    82     FALSE,
    83     RTEMS_NOT_CONFIGURED
    84   );
    85   return RTEMS_NOT_CONFIGURED;
    86 }
    87 
    88 rtems_status_code rtems_io_open(
    89   rtems_device_major_number  major,
    90   rtems_device_minor_number  minor,
    91   void             *argument
    92 )
    93 {
    94   _Internal_error_Occurred(
    95     INTERNAL_ERROR_RTEMS_API,
    96     FALSE,
    97     RTEMS_NOT_CONFIGURED
    98   );
    99   return RTEMS_NOT_CONFIGURED;
    100 }
    101 
    102 rtems_status_code rtems_io_close(
    103   rtems_device_major_number  major,
    104   rtems_device_minor_number  minor,
    105   void             *argument
    106 )
    107 {
    108   _Internal_error_Occurred(
    109     INTERNAL_ERROR_RTEMS_API,
    110     FALSE,
    111     RTEMS_NOT_CONFIGURED
    112   );
    113   return RTEMS_NOT_CONFIGURED;
    114 }
    115 
    116 rtems_status_code rtems_io_read(
    117   rtems_device_major_number  major,
    118   rtems_device_minor_number  minor,
    119   void             *argument
    120 )
    121 {
    122   _Internal_error_Occurred(
    123     INTERNAL_ERROR_RTEMS_API,
    124     FALSE,
    125     RTEMS_NOT_CONFIGURED
    126   );
    127   return RTEMS_NOT_CONFIGURED;
    128 }
    129 
    130 rtems_status_code rtems_io_write(
    131   rtems_device_major_number  major,
    132   rtems_device_minor_number  minor,
    133   void             *argument
    134 )
    135 {
    136   _Internal_error_Occurred(
    137     INTERNAL_ERROR_RTEMS_API,
    138     FALSE,
    139     RTEMS_NOT_CONFIGURED
    140   );
    141   return RTEMS_NOT_CONFIGURED;
    142 }
    143 
    144 rtems_status_code rtems_io_control(
    145   rtems_device_major_number  major,
    146   rtems_device_minor_number  minor,
    147   void             *argument
    148 )
    149 {
    150   _Internal_error_Occurred(
    151     INTERNAL_ERROR_RTEMS_API,
    152     FALSE,
    153     RTEMS_NOT_CONFIGURED
    154   );
    155   return RTEMS_NOT_CONFIGURED;
    156 }
Note: See TracChangeset for help on using the changeset viewer.