tree: 92d92c1bb07ef69f6146715d440d072312a03dc4 [path history] [tgz]
  1. boot-shim/
  2. efi/
  3. include/
  4. lib/
  5. test/
  6. acpi.cc
  7. allocation.cc
  8. boot-zbi.cc
  9. BUILD.gn
  10. exception.cc
  11. frame-pointer.cc
  12. handoff-entropy.cc
  13. handoff-entropy.h
  14. handoff-prep-zbi.cc
  15. handoff-prep.cc
  16. handoff-prep.h
  17. kernel-package.cc
  18. OWNERS
  19. page-table.cc
  20. panic.cc
  21. phys-end.ld
  22. phys.ld
  23. phys_executable.gni
  24. physboot.cc
  25. qemu-header.S
  26. qemu.gni
  27. README.md
  28. self-relocation.cc
  29. stack.cc
  30. stdio.cc
  31. symbolize.cc
  32. trampoline-boot.cc
  33. uart.cc
  34. zbi-header.ld
  35. zbi-header.S
  36. zbi-init-memory.cc
  37. zbi-main.cc
  38. zbi-memory.cc
  39. zbi_executable.gni
  40. zbitl-allocation.cc
zircon/kernel/phys/README.md

kernel/phys -- Physical memory mode code for Zircon

This subdirectory contains code to support the “phys” environments for Zircon. The lib/arch overview provides a good description of what the various environments are and what constraints each has.

The main uses for this code are physboot, boot shims, and tests for those. In the future it will also cover a variety of EFI cases.

Testing

The project uses ZBI tests, built in all product configurations, including bringup and core. A basic set of tests can be executing by running the command:

fx run-zbi-test zbi-phys-unittests

Other ZBI tests also exist in the project. The full list can be viewed by running:

fx run-zbi-test | grep //zircon/kernel/phys