Changeset 059a3714 in rtems for cpukit/sapi/include/rtems/io.h


Ignore:
Timestamp:
Oct 16, 2001, 7:05:29 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8670008c
Parents:
8917506d
Message:

2001-10-16 Chris Johns <ccj@…>

  • include/confdefs.h, include/rtems/config.h, include/rtems/io.h, optman/no-io.c, src/exinit.c, src/io.c: Added a device driver register/unregister interface to allow device drivers to be installed and removed at runtime. This means you do not need devices present in the device table when you build.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/rtems/io.h

    r8917506d r059a3714  
    101101void _IO_Manager_initialization(
    102102  rtems_driver_address_table *driver_table,
     103  unsigned32                  drivers_in_table,
    103104  unsigned32                  number_of_drivers,
    104105  unsigned32                  number_of_devices
     106);
     107
     108/*
     109 *  rtems_io_register_driver
     110 *
     111 *  DESCRIPTION:
     112 *
     113 *  Register a driver into the device driver table.
     114 *
     115 */
     116
     117rtems_status_code rtems_io_register_driver(
     118    rtems_device_major_number   major,
     119    rtems_driver_address_table *driver_table,
     120    rtems_device_major_number  *registered_major
     121);
     122
     123/*
     124 *  rtems_io_unregister_driver
     125 *
     126 *  DESCRIPTION:
     127 *
     128 *  Unregister a driver from the device driver table.
     129 *
     130 */
     131
     132rtems_status_code rtems_io_unregister_driver(
     133    rtems_device_major_number major
    105134);
    106135
Note: See TracChangeset for help on using the changeset viewer.