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)
Tue, Feb 18, 2:25 PM
Unknown Object (File)
Sat, Feb 8, 11:44 PM
Unknown Object (File)
Sat, Feb 8, 1:39 PM
Unknown Object (File)
Wed, Jan 22, 3:56 PM
Unknown Object (File)
Jan 10 2025, 4:19 AM
Unknown Object (File)
Dec 7 2024, 5:00 PM
Unknown Object (File)
Dec 3 2024, 9:09 PM
Unknown Object (File)
Nov 29 2024, 10:19 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