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)
Fri, Nov 29, 1:42 PM
Unknown Object (File)
Nov 26 2024, 12:01 PM
Unknown Object (File)
Nov 10 2024, 5:42 PM
Unknown Object (File)
Oct 10 2024, 8:19 PM
Unknown Object (File)
Sep 27 2024, 8:11 AM
Unknown Object (File)
Sep 26 2024, 2:45 PM
Unknown Object (File)
Sep 26 2024, 8:56 AM
Unknown Object (File)
Sep 24 2024, 4:19 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... :)