repo.or.cz
/
snowy-minesweeper.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heap: Protect multiboot module command line
[snowy-minesweeper.git]
/
start.S
blob
1ab15bd7e8cb6b26181324c1c5fa1c46bcac1d17
1
.section multiboot
2
#define MB_MAGIC 0x1badb002
3
#define MB_FLAGS 0x0
4
#define MB_CHECKSUM -(MB_MAGIC + MB_FLAGS)
5
6
.align 4
7
.int MB_MAGIC
8
.int MB_FLAGS
9
.int MB_CHECKSUM
10
11
.section .text
12
13
.extern init
14
15
.global _start
16
_start:
17
mov $kernel_stack, %esp
18
push %ebx
19
call init
20
jmp .
21
22
.section .bss
23
.space 65536
24
kernel_stack: