[devmgr] Reorganise main.cpp

Arrange all functions within a namespace together, and reduce the number
of functions that are defined within the devmgr.h header.

This makes it easier to understand which namespace a function is in, and
to reduce the API surface of the main.cpp file.

Test: Booted up Fuchsia on a NUC.
Change-Id: Ibe8a94cf9d221354e9047e115a430cdd65b7235d
5 files changed
tree: 98b8214fb55287e20f0dd2baf1d70e84b158f1b7
  1. .clang-format
  2. .clang-tidy
  3. .dir-locals.el
  4. .gitignore
  5. .travis.yml
  10. README.md
  11. bootloader/
  12. docs/
  13. kernel/
  14. make/
  15. makefile
  16. navbar.md
  17. prebuilt/
  18. public/
  19. scripts/
  20. system/
  21. third_party/


Zircon is the core platform that powers the Fuchsia OS. Zircon is composed of a microkernel (source in kernel/...) as well as a small set of userspace services, drivers, and libraries (source in system/...) necessary for the system to boot, talk to hardware, load userspace processes and run them, etc. Fuchsia builds a much larger OS on top of this foundation.

The canonical Zircon Git repository is located at: https://fuchsia.googlesource.com/zircon

A read-only mirror of the code is present at: https://github.com/fuchsia-mirror/zircon

The Zircon Kernel provides syscalls to manage processes, threads, virtual memory, inter-process communication, waiting on object state changes, and locking (via futexes).

Currently there are some temporary syscalls that have been used for early bringup work, which will be going away in the future as the long term syscall API/ABI surface is finalized. The expectation is that there will be about 100 syscalls.

Zircon syscalls are generally non-blocking. The wait_one, wait_many port_wait and thread sleep being the notable exceptions.

This page is a non-comprehensive index of the zircon documentation.