Page MenuHomeFreeBSD

loader.efi(8): the amd64 loader doesn't do protected mode
ClosedPublic

Authored by vexeduxr on Sun, Jun 14, 3:37 AM.
Tags
None
Referenced Files
F161579470: D57568.id.diff
Sun, Jul 5, 1:19 AM
Unknown Object (File)
Fri, Jul 3, 6:32 AM
Unknown Object (File)
Fri, Jun 26, 8:02 AM
Unknown Object (File)
Fri, Jun 26, 1:00 AM
Unknown Object (File)
Wed, Jun 24, 6:46 AM
Unknown Object (File)
Wed, Jun 24, 1:30 AM
Unknown Object (File)
Tue, Jun 23, 11:22 AM
Unknown Object (File)
Tue, Jun 23, 5:41 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

why not change the word 'protected' to 'long'?

In D57568#1319451, @kib wrote:

why not change the word 'protected' to 'long'?

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?

In D57568#1319451, @kib wrote:

why not change the word 'protected' to 'long'?

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?

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.

Keep the sentence intact but change x86 protected mode to 64-bit long mode.

In D57568#1319455, @kib wrote:
In D57568#1319451, @kib wrote:

why not change the word 'protected' to 'long'?

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?

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.

TIL :)

This revision is now accepted and ready to land.Sun, Jun 14, 10:36 AM