]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Useful definitions in multiboot2.h
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 10 Mar 2010 10:41:45 +0000 (11:41 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 10 Mar 2010 10:41:45 +0000 (11:41 +0100)
doc/multiboot2.h

index 4fe803fee80ca7f93e5a27b6daddb474bd0ddb15..8204794252ab3ab509d0779b5091efa84fcd8b3f 100644 (file)
@@ -24,6 +24,7 @@
 
 /* How many bytes from the start of the file we search for the header.  */
 #define MULTIBOOT_SEARCH                       32768
+#define MULTIBOOT_HEADER_ALIGN                 8
 
 /* The magic field should contain this.  */
 #define MULTIBOOT2_HEADER_MAGIC                        0xe85250d6
@@ -61,6 +62,8 @@
 #define MULTIBOOT_TAG_TYPE_MMAP              6
 #define MULTIBOOT_TAG_TYPE_VBE               7
 #define MULTIBOOT_TAG_TYPE_FRAMEBUFFER       8
+#define MULTIBOOT_TAG_TYPE_ELF_SECTIONS      9
+#define MULTIBOOT_TAG_TYPE_APM               10
 
 #define MULTIBOOT_HEADER_TAG_END  0
 #define MULTIBOOT_HEADER_TAG_INFORMATION_REQUEST  1
@@ -73,6 +76,9 @@
 #define GRUB_MULTIBOOT_ARCHITECTURE_I386  0
 #define MULTIBOOT_HEADER_TAG_OPTIONAL 1
 
+#define MULTIBOOT_CONSOLE_FLAGS_CONSOLE_REQUIRED 1
+#define MULTIBOOT_CONSOLE_FLAGS_EGA_TEXT_SUPPORTED 2
+
 #ifndef ASM_FILE
 
 typedef unsigned char          multiboot_uint8_t;