Page MenuHomeFreeBSD

loader: efi: Bump the heap from 64 to 128MB.
AbandonedPublic

Authored by manu on Dec 21 2021, 8:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 6:48 AM
Unknown Object (File)
Tue, Mar 17, 4:43 PM
Unknown Object (File)
Fri, Mar 13, 9:09 PM
Unknown Object (File)
Mon, Mar 9, 12:36 AM
Unknown Object (File)
Tue, Mar 3, 2:21 PM
Unknown Object (File)
Mar 1 2026, 10:25 AM
Unknown Object (File)
Feb 8 2026, 7:19 PM
Unknown Object (File)
Jan 23 2026, 2:31 AM

Details

Reviewers
None
Group Reviewers
Loader
Summary

As we now alloc the framebuffer a lot of memory is consumed by it, bump the
heapsize so we have enough memory to do other things (like preloading a kernel
from tftp).

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43523
Build 40411: arc lint + arc unit

Event Timeline

manu requested review of this revision.Dec 21 2021, 8:50 AM

I think, we probably should allocate shadow fb outside of heap (for UEFI loader, with BS->AllocatePages()), however, this is a bit complicated with BIOS loader.

I think, we probably should allocate shadow fb outside of heap (for UEFI loader, with BS->AllocatePages()), however, this is a bit complicated with BIOS loader.

In the meantime even using a 1280x1080 screen is enough to break tftp preloading so I don't see some quicker solution.

In D33598#759117, @manu wrote:

I think, we probably should allocate shadow fb outside of heap (for UEFI loader, with BS->AllocatePages()), however, this is a bit complicated with BIOS loader.

In the meantime even using a 1280x1080 screen is enough to break tftp preloading so I don't see some quicker solution.

I did create alternate option: https://reviews.freebsd.org/D33600 - if you could test it... :)