summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-01-14 16:07:11 +0100
committerMichael Brown2007-01-14 16:07:11 +0100
commit10c9b03cdb3b965961e000c46b175677b4b5c2d1 (patch)
tree9fa840075e40473fafc096c8b65f54e9f9fa1a42 /src
parentAdd dummy "initrd" image format, just so that images can be marked as (diff)
downloadipxe-10c9b03cdb3b965961e000c46b175677b4b5c2d1.tar.gz
ipxe-10c9b03cdb3b965961e000c46b175677b4b5c2d1.tar.xz
ipxe-10c9b03cdb3b965961e000c46b175677b4b5c2d1.zip
Actually, the initrd image should be architecture-independent.
Diffstat (limited to 'src')
-rw-r--r--src/image/initrd.c (renamed from src/arch/i386/image/initrd.c)2
-rw-r--r--src/include/gpxe/initrd.h (renamed from src/arch/i386/include/initrd.h)6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/i386/image/initrd.c b/src/image/initrd.c
index d0e0d88a6..f03564a81 100644
--- a/src/arch/i386/image/initrd.c
+++ b/src/image/initrd.c
@@ -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 ) = {
diff --git a/src/arch/i386/include/initrd.h b/src/include/gpxe/initrd.h
index 196a96528..4533a1245 100644
--- a/src/arch/i386/include/initrd.h
+++ b/src/include/gpxe/initrd.h
@@ -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 */