tree: 8bb45d4d8c29addbdcb9bf964d545c8cc20bb6c6 [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. log.cc
  30. log.h
  31. main-symbolize.cc
  32. METADATA.textproto
  33. OWNERS
  34. panic.cc
  35. phys-elf-module.ld
  36. phys-end.ld
  37. phys.ld
  38. phys_executable.gni
  39. physboot-elf-kernel.cc
  40. physboot-elf-main.cc
  41. physboot.cc
  42. physboot.h
  43. physload-module.cc
  44. physload.cc
  45. physload.h
  46. qemu-header.S
  47. qemu.gni
  48. qemu_kernel_test.gni
  49. README.md
  50. self-relocation.cc
  51. shim_executable.gni
  52. stack.cc
  53. stdio.cc
  54. symbolize.cc
  55. trampoline-boot.cc
  56. uart.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