tree: 661f5b38095a6cedce00852cd603504d8a0e4529 [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-options.cc
  11. boot-zbi.cc
  12. BUILD.gn
  13. devicetree_boot_test.gni
  14. elf-image-self-vmos.cc
  15. elf-image-vmos.cc
  16. elf-image.cc
  17. elf-interp.S
  18. exception.cc
  19. handoff-entropy.cc
  20. handoff-entropy.h
  21. handoff-prep-zbi.cc
  22. handoff-prep.cc
  23. handoff-prep.h
  24. kernel-elf-interp.sh
  25. kernel-package.cc
  26. kernel_elf_binary.gni
  27. kernel_elf_image.gni
  28. kernel_elf_interp.gni
  29. linuxboot-pic.ld
  30. log.cc
  31. log.h
  32. main-symbolize.cc
  33. METADATA.textproto
  34. OWNERS
  35. panic.cc
  36. phys-elf-module.ld
  37. phys-end.ld
  38. phys.ld
  39. phys_executable.gni
  40. physboot.cc
  41. physboot.h
  42. physload-module.cc
  43. physload.cc
  44. physload.h
  45. qemu.gni
  46. qemu_kernel_test.gni
  47. raw-header.S
  48. README.md
  49. self-relocation.cc
  50. shim_executable.gni
  51. stack.cc
  52. stdio.cc
  53. symbolize.cc
  54. trampoline-boot.cc
  55. uart.cc
  56. ubsan-runtime.cc
  57. zbi-header.ld
  58. zbi-header.S
  59. zbi-init-memory.cc
  60. zbi-main.cc
  61. zbi-memory.cc
  62. zbi_executable.gni
  63. 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