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 about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 1ed324dd33fca02192d31bad13a72f6531ad4918 Author: Toomas Soome <email@example.com> Date: 2017-09-19T18:32:14.000Z 8651 loader: biosmem allocate heap just below 4GB Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: C Fraire <firstname.lastname@example.org> Reviewed by: Ken Mays <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>