From fd141fb6693520fd01b6f5a5d6b15379fb543254 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 5 Nov 2012 23:19:16 +0000 Subject: [umalloc] Split largest_memblock() function out from init_eheap() Signed-off-by: Michael Brown --- src/include/ipxe/memblock.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/include/ipxe/memblock.h (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/memblock.h b/src/include/ipxe/memblock.h new file mode 100644 index 000000000..13af3e433 --- /dev/null +++ b/src/include/ipxe/memblock.h @@ -0,0 +1,17 @@ +#ifndef _IPXE_MEMBLOCK_H +#define _IPXE_MEMBLOCK_H + +/** @file + * + * Largest memory block + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include +#include + +extern size_t largest_memblock ( userptr_t *start ); + +#endif /* _IPXE_MEMBLOCK_H */ -- cgit v1.2.3-55-g7522