summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-14 15:29:30 +0100
committerMichael Brown2007-01-14 15:29:30 +0100
commit8a490146bfd3c2efedc1ec32b621491af487017d (patch)
tree72b07738a5abd51140ff7ff2e49f16eac9fc1ed3 /src/arch/i386/include
parentSplit bzimage_load into separate functions (diff)
downloadipxe-8a490146bfd3c2efedc1ec32b621491af487017d.tar.gz
ipxe-8a490146bfd3c2efedc1ec32b621491af487017d.tar.xz
ipxe-8a490146bfd3c2efedc1ec32b621491af487017d.zip
Copy command line at execution time rather than load time.
Parse command line for "vga=" and "mem=" parameters
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/bzimage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/i386/include/bzimage.h b/src/arch/i386/include/bzimage.h
index 96df180d3..d97f76ebb 100644
--- a/src/arch/i386/include/bzimage.h
+++ b/src/arch/i386/include/bzimage.h
@@ -85,6 +85,15 @@ struct bzimage_header {
/** bzImage "kernel can use heap" flag */
#define BZI_CAN_USE_HEAP 0x80
+/** bzImage special video mode "normal" */
+#define BZI_VID_MODE_NORMAL 0xffff
+
+/** bzImage special video mode "ext" */
+#define BZI_VID_MODE_EXT 0xfffe
+
+/** bzImage special video mode "ask" */
+#define BZI_VID_MODE_ASK 0xfffd
+
/** bzImage command-line structure used by older kernels */
struct bzimage_cmdline {
@@ -104,4 +113,7 @@ struct bzimage_cmdline {
/** Amount of stack space to provide */
#define BZI_STACK_SIZE 0x1000
+/** Maximum size of command line */
+#define BZI_CMDLINE_SIZE 0x100
+
#endif /* _BZIMAGE_H */