summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/multiboot.s
blob: c80929793adda53c13d3e62748ff3664a11f62b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.set MAGIC, 0x1BADB002

/* 1<<0  - align modules on page boundaries.
   1<<2  - enable graphic mode fields */
.set FLAGS, 1<<0 | 1<<2
.set CHECKSUM, -(MAGIC + FLAGS)

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

	.skip 5 * 4

	.long 0
	.long 640
	.long 480
	.long 0