mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
[bios] Use generic external heap based on the system memory map
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#ifndef _IPXE_MEMBLOCK_H
|
||||
#define _IPXE_MEMBLOCK_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Largest memory block
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern size_t largest_memblock ( void **start );
|
||||
|
||||
#endif /* _IPXE_MEMBLOCK_H */
|
||||
@@ -228,7 +228,7 @@ static inline void memmap_dump_all ( int hide ) {
|
||||
memmap_dump ( ®ion );
|
||||
}
|
||||
|
||||
extern struct used_region umalloc_used __used_region;
|
||||
extern struct used_region uheap_used __used_region;
|
||||
|
||||
extern void memmap_update ( struct memmap_region *region, uint64_t start,
|
||||
uint64_t size, unsigned int flags,
|
||||
|
||||
Reference in New Issue
Block a user