Page MenuHomeFreeBSD

Move EFI boot components from amd64/ to efi/
AbandonedPublic

Authored by emaste on Jan 16 2015, 10:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 25, 4:24 AM
Unknown Object (File)
Thu, Sep 25, 1:37 AM
Unknown Object (File)
Wed, Sep 17, 2:18 AM
Unknown Object (File)
Aug 20 2025, 3:39 AM
Unknown Object (File)
Aug 16 2025, 7:30 AM
Unknown Object (File)
Aug 14 2025, 3:28 AM
Unknown Object (File)
Jul 6 2025, 4:19 PM
Unknown Object (File)
Jul 5 2025, 9:26 PM
Subscribers
None

Details

Reviewers
andrew

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Move EFI boot components from amd64/ to efi/.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: andrew.

Some of the files in what is now sys/boot/efi/loader are amd64 specific. It may make more seance to pull out anything common with arm64 into sys/boot/efi/libefi. I know we share at least a few commands, but would need to look through the two sets of files to know how similar they are.

sys/boot/efi/boot1/Makefile
16

While here can you put start.S first? It will need to be first on arm64.

33

-Wl,-znocombreloc stops boot1.efi from working on arm64, it would be nice if it was on a separate line, e.g. LDFLAGS+= -Wl,-znocombreloc. This would simplify when we pull this change across.

In D1545#3, @andrew wrote:

Some of the files in what is now sys/boot/efi/loader are amd64 specific. It may make more seance to pull out anything common with arm64 into sys/boot/efi/libefi. I know we share at least a few commands, but would need to look through the two sets of files to know how similar they are.

Perhaps boot/efi/loader/${ARCH} (or boot/efi/${ARCH}, depending on what we could share between boot1 and loader).

sys/boot/efi/boot1/Makefile
33

OK