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)
Wed, Oct 29, 4:40 PM
Unknown Object (File)
Wed, Oct 29, 4:40 PM
Unknown Object (File)
Wed, Oct 29, 4:37 PM
Unknown Object (File)
Mon, Oct 27, 2:37 AM
Unknown Object (File)
Sat, Oct 25, 12:21 AM
Unknown Object (File)
Fri, Oct 24, 8:58 PM
Unknown Object (File)
Mon, Oct 20, 11:05 AM
Unknown Object (File)
Sun, Oct 12, 8:36 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... :)