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)
Wed, Mar 20, 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
Unknown Object (File)
Dec 24 2023, 4:55 AM
Unknown Object (File)
Dec 21 2023, 3:07 PM
Unknown Object (File)
Dec 12 2023, 1:35 PM
Unknown Object (File)
Nov 5 2023, 12:00 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.