loader.efi(8): document the ia32 loader

Reviewed by:	kib
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D57569
This commit is contained in:
Ahmad Khalifa
2026-06-14 19:26:30 +03:00
parent f771deb193
commit 2e1f5b7897
+12
View File
@@ -373,6 +373,18 @@ command produces a fault in the
environment for testing purposes, by executing the environment for testing purposes, by executing the
.Ic ud2 .Ic ud2
processor instruction. processor instruction.
.Ss i386 firmware on amd64 machines
Some devices have 64-bit (long mode) capable CPUs, but come with a
32-bit (protected mode) UEFI implementation.
.Pa /boot/loader_ia32.efi
is provided for such devices.
It switches to long mode right before executing the kernel.
Note that since the firmware expects its runtime EFI functions to be
executed in 32-bit protected mode, EFI runtime services are not
available to the kernel.
Which means that programs like
.Xr efibootmgr 8
will not work.
.Sh FILES .Sh FILES
.Bl -tag -width "/boot/loader.efi" .Bl -tag -width "/boot/loader.efi"
.It Pa /boot/loader.efi .It Pa /boot/loader.efi