Heap: Protect multiboot module command line
[snowy-minesweeper.git] / start.S
blob1ab15bd7e8cb6b26181324c1c5fa1c46bcac1d17
1 .section multiboot
2 #define MB_MAGIC 0x1badb002
3 #define MB_FLAGS 0x0
4 #define MB_CHECKSUM -(MB_MAGIC + MB_FLAGS)
6 .align 4
7 .int    MB_MAGIC
8 .int    MB_FLAGS
9 .int    MB_CHECKSUM
11 .section .text
13 .extern init
15 .global _start
16 _start:
17     mov $kernel_stack, %esp
18     push %ebx
19     call init
20     jmp .
22 .section .bss
23 .space 65536
24 kernel_stack: