tree: 3372064d418e2e27ecfe05c506fed2d1be385cb1 [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.framework.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 programs 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