Actually, the initrd image should be architecture-independent.
authorMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 15:07:11 +0000 (15:07 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 15:07:11 +0000 (15:07 +0000)
src/image/initrd.c [moved from src/arch/i386/image/initrd.c with 98% similarity]
src/include/gpxe/initrd.h [moved from src/arch/i386/include/initrd.h with 68% similarity]

similarity index 98%
rename from src/arch/i386/image/initrd.c
rename to src/image/initrd.c
index d0e0d88..f03564a 100644 (file)
@@ -28,8 +28,8 @@
  *
  */
 
-#include <initrd.h>
 #include <gpxe/image.h>
+#include <gpxe/initrd.h>
 
 /** Linux initrd image type */
 struct image_type initrd_image_type __image_type ( PROBE_NORMAL ) = {
similarity index 68%
rename from src/arch/i386/include/initrd.h
rename to src/include/gpxe/initrd.h
index 196a965..4533a12 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _INITRD_H
-#define _INITRD_H
+#ifndef _GPXE_INITRD_H
+#define _GPXE_INITRD_H
 
 /**
  * @file
@@ -11,4 +11,4 @@
 #include <gpxe/image.h>
 extern struct image_type initrdimage_image_type __image_type ( PROBE_NORMAL );
 
-#endif /* _INITRD_H */
+#endif /* _GPXE_INITRD_H */