Changeset 2e61938 in rtems
- Timestamp:
- 09/28/00 20:22:40 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f6630d4
- Parents:
- 9c3fa30
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/sapi/ChangeLog
r9c3fa30 r2e61938 1 2000-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 1 7 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
c/src/exec/sapi/include/rtems/io.h
r9c3fa30 r2e61938 58 58 59 59 typedef 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 */ 66 66 } rtems_driver_address_table; 67 67 -
c/src/exec/sapi/src/io.c
r9c3fa30 r2e61938 193 193 return RTEMS_INVALID_NUMBER; 194 194 195 callout = _IO_Driver_address_table[major].initialization ;195 callout = _IO_Driver_address_table[major].initialization_entry; 196 196 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 197 197 } … … 223 223 return RTEMS_INVALID_NUMBER; 224 224 225 callout = _IO_Driver_address_table[major].open ;225 callout = _IO_Driver_address_table[major].open_entry; 226 226 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 227 227 } … … 253 253 return RTEMS_INVALID_NUMBER; 254 254 255 callout = _IO_Driver_address_table[major].close ;255 callout = _IO_Driver_address_table[major].close_entry; 256 256 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 257 257 } … … 283 283 return RTEMS_INVALID_NUMBER; 284 284 285 callout = _IO_Driver_address_table[major].read ;285 callout = _IO_Driver_address_table[major].read_entry; 286 286 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 287 287 } … … 313 313 return RTEMS_INVALID_NUMBER; 314 314 315 callout = _IO_Driver_address_table[major].write ;315 callout = _IO_Driver_address_table[major].write_entry; 316 316 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 317 317 } … … 343 343 return RTEMS_INVALID_NUMBER; 344 344 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 1 2000-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 1 7 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
cpukit/sapi/include/rtems/io.h
r9c3fa30 r2e61938 58 58 59 59 typedef 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 */ 66 66 } rtems_driver_address_table; 67 67 -
cpukit/sapi/src/io.c
r9c3fa30 r2e61938 193 193 return RTEMS_INVALID_NUMBER; 194 194 195 callout = _IO_Driver_address_table[major].initialization ;195 callout = _IO_Driver_address_table[major].initialization_entry; 196 196 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 197 197 } … … 223 223 return RTEMS_INVALID_NUMBER; 224 224 225 callout = _IO_Driver_address_table[major].open ;225 callout = _IO_Driver_address_table[major].open_entry; 226 226 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 227 227 } … … 253 253 return RTEMS_INVALID_NUMBER; 254 254 255 callout = _IO_Driver_address_table[major].close ;255 callout = _IO_Driver_address_table[major].close_entry; 256 256 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 257 257 } … … 283 283 return RTEMS_INVALID_NUMBER; 284 284 285 callout = _IO_Driver_address_table[major].read ;285 callout = _IO_Driver_address_table[major].read_entry; 286 286 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 287 287 } … … 313 313 return RTEMS_INVALID_NUMBER; 314 314 315 callout = _IO_Driver_address_table[major].write ;315 callout = _IO_Driver_address_table[major].write_entry; 316 316 return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL; 317 317 } … … 343 343 return RTEMS_INVALID_NUMBER; 344 344 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.