diff options
Diffstat (limited to 'source/boot/arch/x86_64/src/multiboot.s')
| -rw-r--r-- | source/boot/arch/x86_64/src/multiboot.s | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/boot/arch/x86_64/src/multiboot.s b/source/boot/arch/x86_64/src/multiboot.s new file mode 100644 index 0000000..207a639 --- /dev/null +++ b/source/boot/arch/x86_64/src/multiboot.s @@ -0,0 +1,17 @@ +.section .boot_mbh, "a" +.align 64 + +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)) +.Lend: + .int 0 + .int 0 + .long 8 +multiboot_header_end: |
