[userboot] Modernize Bootfs

Update userboot's bootfs implementation to be a C++ class instead of a
struct with associated functions. Also updates it to use libzx wrapper
types instead of raw zx_handle_t's, and switches the separate byte
pointer and length for the bootfs mapping to a std::basic_string_view.

Change-Id: Ie9d7a59f43098ef76f99f5804456d4c2d645a452
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/400461
Commit-Queue: Bryan Henry <bryanhenry@google.com>
Reviewed-by: George Kulakowski <kulakowski@google.com>
Testability-Review: George Kulakowski <kulakowski@google.com>
Testability-Review: Roland McGrath <mcgrathr@google.com>
11 files changed
tree: 46ef4c10221eb0c3e693f0875bc98fd55db5a320
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. 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 fuchsia.dev.