Move memmap.h out of arch/i386; it no longer contains anything
authorMichael Brown <mcb30@etherboot.org>
Thu, 11 Jan 2007 14:08:44 +0000 (14:08 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 11 Jan 2007 14:08:44 +0000 (14:08 +0000)
architecture-dependent and is needed by the ELF code.

src/arch/i386/core/relocate.c
src/arch/i386/firmware/pcbios/memmap.c
src/include/gpxe/memmap.h [moved from src/arch/i386/include/memmap.h with 87% similarity]

index c9ac7ee..d3b42d0 100644 (file)
@@ -1,6 +1,6 @@
 #include <io.h>
 #include <registers.h>
-#include <memmap.h>
+#include <gpxe/memmap.h>
 
 /*
  * Originally by Eric Biederman
index daa1d99..6bbb22a 100644 (file)
@@ -20,7 +20,7 @@
 #include <errno.h>
 #include <realmode.h>
 #include <bios.h>
-#include <memmap.h>
+#include <gpxe/memmap.h>
 
 /**
  * @file
similarity index 87%
rename from src/arch/i386/include/memmap.h
rename to src/include/gpxe/memmap.h
index ccba14b..836a1b9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _MEMMAP_H
-#define _MEMMAP_H
+#ifndef _GPXE_MEMMAP_H
+#define _GPXE_MEMMAP_H
 
 #include <stdint.h>
 
@@ -31,4 +31,4 @@ struct memory_map {
 
 extern void get_memmap ( struct memory_map *memmap );
 
-#endif /* _MEMMAP_H */
+#endif /* _GPXE_MEMMAP_H */