Skip to content
Snippets Groups Projects
multiboot.s 501 B
.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
.Lend_start:
    .word 0
    .word 0
    .long .Lend_end - .Lend_start
.Lend_end:
multiboot_header_end: