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
F159704725: D57568.id.diff
Wed, Jun 17, 7:00 AM
F159667998: D57568.diff
Tue, Jun 16, 9:06 PM
Unknown Object (File)
Tue, Jun 16, 5:36 AM
Unknown Object (File)
Sun, Jun 14, 6:25 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73861
Build 70744: arc lint + arc unit

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