Changeset 2e61938 in rtems


Ignore:
Timestamp:
Sep 28, 2000, 8:22:40 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f6630d4
Parents:
9c3fa30
Message:

2000-09-28 Joel Sherrill <joel@…>

  • include/rtems/io.h (rtems_driver_address_table): Added "_entry" to all names.
  • src/io.c: Accounted for above.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/ChangeLog

    r9c3fa30 r2e61938  
     12000-09-28      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/rtems/io.h (rtems_driver_address_table): Added "_entry"
     4        to all names.
     5        * src/io.c: Accounted for above.
     6
    172000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/exec/sapi/include/rtems/io.h

    r9c3fa30 r2e61938  
    5858
    5959typedef struct {
    60   rtems_device_driver_entry initialization; /* initialization procedure */
    61   rtems_device_driver_entry open;           /* open request procedure */
    62   rtems_device_driver_entry close;          /* close request procedure */
    63   rtems_device_driver_entry read;           /* read request procedure */
    64   rtems_device_driver_entry write;          /* write request procedure */
    65   rtems_device_driver_entry control;        /* special functions procedure */
     60  rtems_device_driver_entry initialization_entry; /* initialization procedure */
     61  rtems_device_driver_entry open_entry;        /* open request procedure */
     62  rtems_device_driver_entry close_entry;       /* close request procedure */
     63  rtems_device_driver_entry read_entry;        /* read request procedure */
     64  rtems_device_driver_entry write_entry;       /* write request procedure */
     65  rtems_device_driver_entry control_entry;     /* special functions procedure */
    6666}   rtems_driver_address_table;
    6767 
  • c/src/exec/sapi/src/io.c

    r9c3fa30 r2e61938  
    193193        return RTEMS_INVALID_NUMBER;
    194194
    195     callout = _IO_Driver_address_table[major].initialization;
     195    callout = _IO_Driver_address_table[major].initialization_entry;
    196196    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    197197}
     
    223223        return RTEMS_INVALID_NUMBER;
    224224
    225     callout = _IO_Driver_address_table[major].open;
     225    callout = _IO_Driver_address_table[major].open_entry;
    226226    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    227227}
     
    253253        return RTEMS_INVALID_NUMBER;
    254254
    255     callout = _IO_Driver_address_table[major].close;
     255    callout = _IO_Driver_address_table[major].close_entry;
    256256    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    257257}
     
    283283        return RTEMS_INVALID_NUMBER;
    284284
    285     callout = _IO_Driver_address_table[major].read;
     285    callout = _IO_Driver_address_table[major].read_entry;
    286286    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    287287}
     
    313313        return RTEMS_INVALID_NUMBER;
    314314
    315     callout = _IO_Driver_address_table[major].write;
     315    callout = _IO_Driver_address_table[major].write_entry;
    316316    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    317317}
     
    343343        return RTEMS_INVALID_NUMBER;
    344344
    345     callout = _IO_Driver_address_table[major].control;
    346     return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    347 }
    348 
     345    callout = _IO_Driver_address_table[major].control_entry;
     346    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
     347}
     348
  • cpukit/sapi/ChangeLog

    r9c3fa30 r2e61938  
     12000-09-28      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/rtems/io.h (rtems_driver_address_table): Added "_entry"
     4        to all names.
     5        * src/io.c: Accounted for above.
     6
    172000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • cpukit/sapi/include/rtems/io.h

    r9c3fa30 r2e61938  
    5858
    5959typedef struct {
    60   rtems_device_driver_entry initialization; /* initialization procedure */
    61   rtems_device_driver_entry open;           /* open request procedure */
    62   rtems_device_driver_entry close;          /* close request procedure */
    63   rtems_device_driver_entry read;           /* read request procedure */
    64   rtems_device_driver_entry write;          /* write request procedure */
    65   rtems_device_driver_entry control;        /* special functions procedure */
     60  rtems_device_driver_entry initialization_entry; /* initialization procedure */
     61  rtems_device_driver_entry open_entry;        /* open request procedure */
     62  rtems_device_driver_entry close_entry;       /* close request procedure */
     63  rtems_device_driver_entry read_entry;        /* read request procedure */
     64  rtems_device_driver_entry write_entry;       /* write request procedure */
     65  rtems_device_driver_entry control_entry;     /* special functions procedure */
    6666}   rtems_driver_address_table;
    6767 
  • cpukit/sapi/src/io.c

    r9c3fa30 r2e61938  
    193193        return RTEMS_INVALID_NUMBER;
    194194
    195     callout = _IO_Driver_address_table[major].initialization;
     195    callout = _IO_Driver_address_table[major].initialization_entry;
    196196    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    197197}
     
    223223        return RTEMS_INVALID_NUMBER;
    224224
    225     callout = _IO_Driver_address_table[major].open;
     225    callout = _IO_Driver_address_table[major].open_entry;
    226226    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    227227}
     
    253253        return RTEMS_INVALID_NUMBER;
    254254
    255     callout = _IO_Driver_address_table[major].close;
     255    callout = _IO_Driver_address_table[major].close_entry;
    256256    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    257257}
     
    283283        return RTEMS_INVALID_NUMBER;
    284284
    285     callout = _IO_Driver_address_table[major].read;
     285    callout = _IO_Driver_address_table[major].read_entry;
    286286    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    287287}
     
    313313        return RTEMS_INVALID_NUMBER;
    314314
    315     callout = _IO_Driver_address_table[major].write;
     315    callout = _IO_Driver_address_table[major].write_entry;
    316316    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    317317}
     
    343343        return RTEMS_INVALID_NUMBER;
    344344
    345     callout = _IO_Driver_address_table[major].control;
    346     return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
    347 }
    348 
     345    callout = _IO_Driver_address_table[major].control_entry;
     346    return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
     347}
     348
Note: See TracChangeset for help on using the changeset viewer.