diff options
| author | Alexey Gavrilov <rebovas@yahoo.com> | 2023-08-20 20:13:59 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <rebovas@yahoo.com> | 2023-08-20 20:13:59 +0700 |
| commit | 47844a0db257264e7f8c5c38e07745601c884a7e (patch) | |
| tree | 60642b3e3876c3d1e48bc19ee2026a5ec39e4e65 /kernel/boot.s | |
| parent | b82ccebd3a0cce28177b5fac046139e2de7737fa (diff) | |
Edit README, Makefile, ld conf
Diffstat (limited to 'kernel/boot.s')
| -rw-r--r-- | kernel/boot.s | 6 |
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 |
