Page MenuHomeFreeBSD

stand/efi: Simplify code here

Authored by imp on Apr 4 2023, 6:13 PM.
Referenced Files
Unknown Object (File)
Dec 23 2023, 12:18 AM
Unknown Object (File)
Dec 13 2023, 3:04 AM
Unknown Object (File)
Nov 26 2023, 11:25 AM
Unknown Object (File)
Nov 22 2023, 4:00 PM
Unknown Object (File)
Nov 22 2023, 1:18 PM
Unknown Object (File)
Nov 14 2023, 3:17 AM
Unknown Object (File)
Nov 12 2023, 4:19 PM
Unknown Object (File)
Nov 12 2023, 4:11 AM



We have plenty of stack in the EFI case, so use it instead of the
complicated malloc / free dance.

Sponsored by: Netflix

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 4 2023, 6:13 PM
imp added a parent revision: D39414: stand/userboot: Simplify code.
imp added a child revision: D39416: stand/kboot: Simplify.

I had to stop a minute and consider if this is true, but it is; lua is the stack hog, and this is executing long before we get to any lua bits. We generally have to have way more than 8k stack at around this depth for lua to operate, so all is good.

This revision is now accepted and ready to land.Apr 12 2023, 5:10 AM
This revision was automatically updated to reflect the committed changes.