diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-11-05 23:19:16 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-11-06 17:44:40 +0000 |
commit | fd141fb6693520fd01b6f5a5d6b15379fb543254 (patch) | |
tree | 94e5897123f622c36e59d6163532c47440695d6f /src/include/ipxe/memblock.h | |
parent | 1494d41d0a20a1facff7558ff825a2681b419e9d (diff) | |
download | ipxe-fd141fb6693520fd01b6f5a5d6b15379fb543254.tar.gz |
[umalloc] Split largest_memblock() function out from init_eheap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/memblock.h')
-rw-r--r-- | src/include/ipxe/memblock.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <stdint.h> +#include <ipxe/uaccess.h> + +extern size_t largest_memblock ( userptr_t *start ); + +#endif /* _IPXE_MEMBLOCK_H */ |