summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/memmap.h
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-07-27 20:37:55 +0200
committerMichael Brown2010-08-16 17:54:03 +0200
commit5bbad9c8f0eacf92fa0ddb6d2d34afe7a0d4278e (patch)
tree6994da16fdddf65f13409b184fdbba7d3907ff80 /src/include/ipxe/memmap.h
parent[dhcp] Allow multiple interfaces in dhcp command (diff)
downloadipxe-5bbad9c8f0eacf92fa0ddb6d2d34afe7a0d4278e.tar.gz
ipxe-5bbad9c8f0eacf92fa0ddb6d2d34afe7a0d4278e.tar.xz
ipxe-5bbad9c8f0eacf92fa0ddb6d2d34afe7a0d4278e.zip
[ioapi] Move get_memmap() to the I/O API group
pcbios specific get_memmap() is used by the b44 driver making all-drivers builds fail on other platforms. Move it to the I/O API group and provide a dummy implementation on EFI. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/memmap.h')
-rw-r--r--src/include/ipxe/memmap.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/include/ipxe/memmap.h b/src/include/ipxe/memmap.h
deleted file mode 100644
index cfd3fe9dc..000000000
--- a/src/include/ipxe/memmap.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef _IPXE_MEMMAP_H
-#define _IPXE_MEMMAP_H
-
-#include <stdint.h>
-
-/**
- * @file
- *
- * Memory mapping
- *
- */
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-/** A usable memory region */
-struct memory_region {
- /** Physical start address */
- uint64_t start;
- /** Physical end address */
- uint64_t end;
-};
-
-/** Maximum number of memory regions we expect to encounter */
-#define MAX_MEMORY_REGIONS 8
-
-/** A memory map */
-struct memory_map {
- /** Memory regions */
- struct memory_region regions[MAX_MEMORY_REGIONS];
- /** Number of used regions */
- unsigned int count;
-};
-
-extern void get_memmap ( struct memory_map *memmap );
-
-#endif /* _IPXE_MEMMAP_H */