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.


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