summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-19 16:40:01 +0100
committerMichael Brown2007-01-19 16:40:01 +0100
commitebb00e032c5e707b031776510f355651d935c997 (patch)
treea8281a9addf9a7edfa342255fa6af579b51a05d4 /src/arch/i386/include
parentAdded SIGKILL handler (diff)
downloadipxe-ebb00e032c5e707b031776510f355651d935c997.tar.gz
ipxe-ebb00e032c5e707b031776510f355651d935c997.tar.xz
ipxe-ebb00e032c5e707b031776510f355651d935c997.zip
Misread the definition of the type_of_loader field; it should include a
version.
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/bzimage.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/arch/i386/include/bzimage.h b/src/arch/i386/include/bzimage.h
index e536b6e8..f443fae7 100644
--- a/src/arch/i386/include/bzimage.h
+++ b/src/arch/i386/include/bzimage.h
@@ -71,7 +71,13 @@ struct bzimage_header {
#define BZI_SIGNATURE 0x53726448
/** bzImage boot loader identifier for Etherboot */
-#define BZI_LOADER_TYPE_ETHERBOOT 4
+#define BZI_LOADER_TYPE_ETHERBOOT 0x40
+
+/** bzImage boot loader identifier for gPXE
+ *
+ * We advertise ourselves as Etherboot version 6.
+ */
+#define BZI_LOADER_TYPE_GPXE ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 )
/** bzImage "load high" flag */
#define BZI_LOAD_HIGH 0x01