loader: biosmem allocate heap just below 4GB
The current biosmem code is walking bios smap entries and looking for smap entry just below 4GB line, if there is such entry, its base and size is set for heap base and size. Instead of entry base, we should use last HEAP_MIN (currently 64MB) bytes just below 4GB, to make maximum space for kernel and modules.
Updated by Electric Monk over 2 years ago
- % Done changed from 90 to 100
- Status changed from In Progress to Closed
commit 1ed324dd33fca02192d31bad13a72f6531ad4918 Author: Toomas Soome <firstname.lastname@example.org> Date: 2017-09-19T18:32:14.000Z 8651 loader: biosmem allocate heap just below 4GB Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Reviewed by: Ken Mays <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>