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)
Apr 16 2024, 3:33 AM
Unknown Object (File)
Apr 12 2024, 1:59 PM
Unknown Object (File)
Dec 20 2023, 4:27 AM
Unknown Object (File)
Dec 2 2023, 10:26 PM
Unknown Object (File)
Jun 25 2023, 5:11 PM
Unknown Object (File)
Feb 4 2023, 11:55 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... :)