aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/memblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/memblock.h')
-rw-r--r--src/include/ipxe/memblock.h17
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 */