tree: 3ce4d7bbacb371c478cd277ece91dfb5049181a0 [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. README.md
  5. test-bind-component-info.json
  6. test-bind2-component-info.json
  7. test-fallback-component-info.json
  8. test-fallback.bind
  9. test.bind
  10. test2.bind
src/devices/bin/driver-index/README.md

Driver-Index

The Driver Index manages the list of drivers that exist in a Fuchsia system. The Driver Index vends the fuchsia.driver.index.DriverIndex FIDL.

Driver Manager uses the Driver Index to find a Driver to bind to a given Device. Driver Index does this by running all of the Driver bind rules against a given Device and returning the Driver that matches the Device the best.

Driver Index will be used by the Drivers-As-Components effort.

Building and Running

When the Driver Index is complete, it will be built in every product and launched during startup.

Testing

Unit tests for the Driver Index are available in the driver-index-unittests package.

$ fx test driver-index-unittests