Page MenuHomeFreeBSD

efi loader: allocate space for the kernel as code rather than data
AbandonedPublicDraft

Authored by allanjude on Dec 20 2022, 9:38 PM.
Tags
None
Referenced Files
F102637292: D37766.diff
Fri, Nov 15, 4:06 AM
Unknown Object (File)
Oct 3 2024, 11:03 PM
Unknown Object (File)
Oct 3 2024, 8:09 PM
Unknown Object (File)
Sep 29 2024, 5:25 PM
Unknown Object (File)
Sep 29 2024, 5:25 PM
Unknown Object (File)
Sep 29 2024, 5:07 PM
Unknown Object (File)
Sep 7 2024, 7:14 AM
Unknown Object (File)
Sep 4 2024, 7:02 PM

Details

Reviewers
manu
Summary

This allows the boot loader to start on the Microsoft ARM dev kit 2023

Obtained from: OpenBSD (2c32ef33f5b1573564f64f1fbf0393c80a7eb0e8)
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 20 2022, 9:39 PM
Harbormaster failed remote builds in B48780: Diff 114341!
stand/efi/boot1/boot1.c
171

This is for the heap which isn't where we put the kernel...
I'm not sure how this would help.

stand/efi/loader/efi_main.c
100

Same. I think you'd need to change copy.c which is where we allocate pages for the kernel, metadata and loadable modules.

Can you see if you can drop this change and still have things working? I'd be very keen to know either way.