tree: 3989c6ecb7234a4b47117dea7498f409d66e69f6 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. allocation.cc
  5. boot-shim/
  6. boot-zbi.cc
  7. frame-pointer.cc
  8. include/
  9. lib/
  10. panic.cc
  11. phys-end.ld
  12. phys.ld
  13. phys_executable.gni
  14. physboot.cc
  15. qemu-header.S
  16. qemu.gni
  17. stack.cc
  18. symbolize.cc
  19. test/
  20. zbi-header.S
  21. zbi-header.ld
  22. zbi-main.cc
  23. zbi-memory.cc
  24. zbi_executable.gni
  25. 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