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