sysfs-firmware-efi-runtime-map 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. What: /sys/firmware/efi/runtime-map/
  2. Date: December 2013
  3. Contact: Dave Young <dyoung@redhat.com>
  4. Description: Switching efi runtime services to virtual mode requires
  5. that all efi memory ranges which have the runtime attribute
  6. bit set to be mapped to virtual addresses.
  7. The efi runtime services can only be switched to virtual
  8. mode once without rebooting. The kexec kernel must maintain
  9. the same physical to virtual address mappings as the first
  10. kernel. The mappings are exported to sysfs so userspace tools
  11. can reassemble them and pass them into the kexec kernel.
  12. /sys/firmware/efi/runtime-map/ is the directory the kernel
  13. exports that information in.
  14. subdirectories are named with the number of the memory range:
  15. /sys/firmware/efi/runtime-map/0
  16. /sys/firmware/efi/runtime-map/1
  17. /sys/firmware/efi/runtime-map/2
  18. /sys/firmware/efi/runtime-map/3
  19. ...
  20. Each subdirectory contains five files:
  21. attribute : The attributes of the memory range.
  22. num_pages : The size of the memory range in pages.
  23. phys_addr : The physical address of the memory range.
  24. type : The type of the memory range.
  25. virt_addr : The virtual address of the memory range.
  26. Above values are all hexadecimal numbers with the '0x' prefix.
  27. Users: Kexec