The amd64 UEFI loader executes in long mode, not protected mode.
MFC after: 3 days
Differential D57568
loader.efi(8): the amd64 loader doesn't do protected mode Authored by vexeduxr on Sun, Jun 14, 3:37 AM.
Details
Diff Detail
Event TimelineComment Actions I'm not sure how the CPU mode is relevant to the rest of the text. Shouldn't the CPU be susceptible to faults regardless of the mode? Comment Actions It is quite involved to make CPU fault in real mode. In VM86 mode it is somewhat easier but still not straight. The mention of the mode is to compare it with the old pre-EFI BIOS where loader practically cannot cause CPU faults. |