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)
Tue, Apr 21, 2:50 PM
Unknown Object (File)
Mon, Apr 20, 10:35 AM
Unknown Object (File)
Sun, Apr 19, 6:43 AM
Unknown Object (File)
Fri, Apr 17, 6:53 AM
Unknown Object (File)
Wed, Apr 15, 7:57 AM
Unknown Object (File)
Fri, Apr 10, 9:40 PM
Unknown Object (File)
Mar 22 2026, 6:48 AM
Unknown Object (File)
Mar 17 2026, 4:43 PM

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... :)