summaryrefslogtreecommitdiff
path: root/kernel/header.S
blob: 5a5774159488a9a7fa5f43f67d8a61b9775fc4bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.section .multiboot_header, "a"
.align 4
header_start:
	# magic number
	.long 0xe85250d6 # multiboot2
	# architecture
	.long 0 # protected mode i386
	# header length
	.long (header_end - header_start)
	# checksum
	.long 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))

	# end tag
	.word 0
	.word 0
	.long 8
header_end: