From 0c5b8766e9f705ebd40ebad9936da3fa84732dad Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 5 Feb 2015 20:57:57 -0500 Subject: expand multiboot header --- boot/head.S | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/boot/head.S b/boot/head.S index 42b1e69..62af7d1 100644 --- a/boot/head.S +++ b/boot/head.S @@ -1,5 +1,6 @@ .set ALIGN, 1<<0 .set MEMINFO, 1<<1 + .set GFXMODE, 1<<2 # this flag enables the graphics fields .set FLAGS, ALIGN | MEMINFO .set MAGIC, 0x1BADB002 # multiboot magic .set CHECKSUM, -(MAGIC + FLAGS) @@ -10,6 +11,15 @@ multiboot_header: .long MAGIC .long FLAGS .long CHECKSUM + .long 0 + .long 0 + .long 0 + .long 0 + .long 0 + .long 1 # text mode + .long 0 + .long 0 + .long 0 .section .stack stack_bottom: # Stack grows up in addresses, so bottom is -- cgit v1.1