mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +03:00
[umalloc] Split largest_memblock() function out from init_eheap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
17
src/include/ipxe/memblock.h
Normal file
17
src/include/ipxe/memblock.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _IPXE_MEMBLOCK_H
|
||||
#define _IPXE_MEMBLOCK_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Largest memory block
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <stdint.h>
|
||||
#include <ipxe/uaccess.h>
|
||||
|
||||
extern size_t largest_memblock ( userptr_t *start );
|
||||
|
||||
#endif /* _IPXE_MEMBLOCK_H */
|
||||
Reference in New Issue
Block a user