[ddk] Start testing driver-ddk compliance

This change adds a way to test the ddk compliance of a driver. At the
moment, Only Bind and Unbind rules are tested but it will later be
expanded to test other hooks.

Test: runtests on qemu and vim2.

manual test with aml_sd_emmc driver.
fx set core.vim2 --with-base //garnet/packages/tests:zircon
--args=kernel_cmdline_args+=\[\"driver.\aml_sd_emmc.compatibility-tests-enable\"\]
Verified compatibility tests pass. lsblk; iochk on vim2 after
aml-sd-emmc-driver went through the tests.

runtests -t ddk-runcompatibilityhook-test with
https://fuchsia-review.googlesource.com/c/fuchsia/+/291488

Change-Id: Ifb0fcc8019eb2bd38d51eb702c00e3547ef482f5
5 files changed
tree: 22fad2a402eb9db56ad6313505320a4e23b24c2c
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .clang-tidy
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.