tree: 7cea492f75fa9d70041937a24fc796bd1c74f077 [path history] [tgz]
  1. boot-shim/
  2. efi/
  3. include/
  4. lib/
  5. test/
  6. acpi.cc
  7. address-space.cc
  8. allocation-init.cc
  9. allocation.cc
  10. boot-zbi.cc
  11. BUILD.gn
  12. devicetree_boot_test.gni
  13. elf-image-self-vmos.cc
  14. elf-image-vmos.cc
  15. elf-image.cc
  16. elf-interp.S
  17. exception.cc
  18. handoff-entropy.cc
  19. handoff-entropy.h
  20. handoff-prep-zbi.cc
  21. handoff-prep.cc
  22. handoff-prep.h
  23. kernel-elf-interp.sh
  24. kernel-package.cc
  25. kernel_elf_binary.gni
  26. kernel_elf_image.gni
  27. kernel_elf_interp.gni
  28. log.cc
  29. log.h
  30. main-symbolize.cc
  31. METADATA.textproto
  32. OWNERS
  33. panic.cc
  34. phys-elf-module.ld
  35. phys-end.ld
  36. phys.ld
  37. phys_executable.gni
  38. physboot-elf-kernel.cc
  39. physboot-elf-main.cc
  40. physboot.cc
  41. physboot.h
  42. physload-module.cc
  43. physload.cc
  44. physload.h
  45. qemu-header.S
  46. qemu.gni
  47. qemu_kernel_test.gni
  48. README.md
  49. self-relocation.cc
  50. stack.cc
  51. stdio.cc
  52. symbolize.cc
  53. trampoline-boot.cc
  54. uart.cc
  55. zbi-header.ld
  56. zbi-header.S
  57. zbi-init-memory.cc
  58. zbi-main.cc
  59. zbi-memory.cc
  60. zbi_executable.gni
  61. 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-boot-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