summaryrefslogtreecommitdiff
path: root/src/arch/i386/multiboot.s
blob: 219498279266ddbafa132af0618b56a29c95ef6d (plain)
1
2
3
4
5
6
7
8
9
10
11
.set MAGIC, 0x1BADB002
.set FLAG_ALIGN,   1<<0 /* align modules on page boundaries */
.set FLAG_MEMINFO, 1<<1 /* memory map */
.set FLAGS,        FLAG_ALIGN | FLAG_MEMINFO
.set CHECKSUM, -(MAGIC + FLAGS)

.section .multiboot
.align 4
.long MAGIC
.long FLAGS
.long CHECKSUM