[umalloc] Split largest_memblock() function out from init_eheap()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-11-05 23:19:16 +00:00
parent 1494d41d0a
commit fd141fb669
3 changed files with 106 additions and 49 deletions

View 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 */