162306a36Sopenharmony_ciWhat:		/sys/firmware/efi/runtime-map/
262306a36Sopenharmony_ciDate:		December 2013
362306a36Sopenharmony_ciContact:	Dave Young <dyoung@redhat.com>
462306a36Sopenharmony_ciDescription:	Switching efi runtime services to virtual mode requires
562306a36Sopenharmony_ci		that all efi memory ranges which have the runtime attribute
662306a36Sopenharmony_ci		bit set to be mapped to virtual addresses.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci		The efi runtime services can only be switched to virtual
962306a36Sopenharmony_ci		mode once without rebooting. The kexec kernel must maintain
1062306a36Sopenharmony_ci		the same physical to virtual address mappings as the first
1162306a36Sopenharmony_ci		kernel. The mappings are exported to sysfs so userspace tools
1262306a36Sopenharmony_ci		can reassemble them and pass them into the kexec kernel.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci		/sys/firmware/efi/runtime-map/ is the directory the kernel
1562306a36Sopenharmony_ci		exports that information in.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci		subdirectories are named with the number of the memory range::
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci			/sys/firmware/efi/runtime-map/0
2062306a36Sopenharmony_ci			/sys/firmware/efi/runtime-map/1
2162306a36Sopenharmony_ci			/sys/firmware/efi/runtime-map/2
2262306a36Sopenharmony_ci			/sys/firmware/efi/runtime-map/3
2362306a36Sopenharmony_ci			...
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci		Each subdirectory contains five files:
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci		=========   =========================================
2862306a36Sopenharmony_ci		attribute   The attributes of the memory range.
2962306a36Sopenharmony_ci		num_pages   The size of the memory range in pages.
3062306a36Sopenharmony_ci		phys_addr   The physical address of the memory range.
3162306a36Sopenharmony_ci		type        The type of the memory range.
3262306a36Sopenharmony_ci		virt_addr   The virtual address of the memory range.
3362306a36Sopenharmony_ci		=========   =========================================
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci		Above values are all hexadecimal numbers with the '0x' prefix.
3662306a36Sopenharmony_ciUsers:		Kexec
37