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