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
Unknown Object (File)
Mon, Jun 24, 1:16 AM
Unknown Object (File)
May 29 2024, 7:30 PM
Unknown Object (File)
May 1 2024, 12:20 PM
Unknown Object (File)
Apr 22 2024, 10:08 PM
Unknown Object (File)
Mar 20 2024, 11:42 AM
Unknown Object (File)
Feb 10 2024, 9:39 PM
Unknown Object (File)
Feb 3 2024, 8:17 AM
Unknown Object (File)
Jan 2 2024, 4:09 AM

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.