aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/boot/multiboot.s
blob: 37d8afef302f39e89b76682cc1d36c0bc46c5e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.section .boot_mbh, "a"
.align 8

multiboot_header_start:
.Lmagic:
    .long 0xe85250d6
.Larch:
    .long 0
.Llength:
    .long multiboot_header_end - multiboot_header_start
.Lchecksum:
    .long 0x100000000 - (0xe85250d6 + 0 + (multiboot_header_end - multiboot_header_start))
.align 8
.Lflags_start:
    .word 4
    .word 1
    .long .Lflags_end - .Lflags_start
    .long 3
.Lflags_end:
.align 8
.Linformation_request_start:
    .word 1
    .word 0
    .long .Linformation_request_end - .Linformation_request_start
    .long 3
.Linformation_request_end:
.align 8
.Lend_start:
    .word 0
    .word 0
    .long .Lend_end - .Lend_start
.Lend_end:
multiboot_header_end: