summaryrefslogtreecommitdiffstats
path: root/kernel/boot.s
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/boot.s')
-rw-r--r--kernel/boot.s6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/boot.s b/kernel/boot.s
index 2fd1c55..987cb48 100644
--- a/kernel/boot.s
+++ b/kernel/boot.s
@@ -1,6 +1,4 @@
-MBALIGN equ 1 << 0
-MEMINFO equ 1 << 1
-MBFLAGS equ MBALIGN | MEMINFO
+MBFLAGS equ 0
MAGIC equ 0x1BADB002
CHECKSUM equ -(MAGIC + MBFLAGS)
@@ -17,10 +15,10 @@ resb 16384
stack_top:
section .text
+extern main
global _start:function (_start.end - _start)
_start:
mov esp, stack_top
- extern main
call main
cli
.hang: hlt