summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/multiboot.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/multiboot.s')
-rw-r--r--src/kernel/arch/amd64/multiboot.s12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/multiboot.s b/src/kernel/arch/amd64/multiboot.s
index dc19b36..c809297 100644
--- a/src/kernel/arch/amd64/multiboot.s
+++ b/src/kernel/arch/amd64/multiboot.s
@@ -1,7 +1,8 @@
.set MAGIC, 0x1BADB002
-/* 1<<0 - align modules on page boundaries. */
-.set FLAGS, 1<<0
+/* 1<<0 - align modules on page boundaries.
+ 1<<2 - enable graphic mode fields */
+.set FLAGS, 1<<0 | 1<<2
.set CHECKSUM, -(MAGIC + FLAGS)
.section .multiboot
@@ -10,3 +11,10 @@ multiboot_header:
.long MAGIC
.long FLAGS
.long CHECKSUM
+
+ .skip 5 * 4
+
+ .long 0
+ .long 640
+ .long 480
+ .long 0