blob: 10702c6754188cc51291e4621365fd36be8a28b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.set MAGIC, 0x1BADB002
/* 1<<0 - align modules on page boundaries.
1<<16 - enable manual addressing */
.set FLAGS, 1<<0 | 1<<16
.set CHECKSUM, -(MAGIC + FLAGS)
.section .multiboot
.align 4
multiboot_header:
.long MAGIC
.long FLAGS
.long CHECKSUM
.long multiboot_header // header_addr
.long multiboot_header // load_addr
.long _data_end // load_end_addr
.long _bss_end // bss_end_addr
.long _start // entry_addr
|