Move Multiboot headers to separate file

This commit is contained in:
2017-10-31 08:59:18 +01:00
parent f5fb6241f2
commit a44d0d7500
3 changed files with 23 additions and 20 deletions

View File

@@ -1,25 +1,6 @@
#include <multiboot.h>
.intel_syntax noprefix
.section .multiboot
.align 0x1000
MultiBootHeader1:
.long MBOOT1_MAGIC
.long MBOOT1_FLAGS
.long MBOOT1_CS
.align 0x1000
MultiBootHeader2:
.long MBOOT2_MAGIC
.long MBOOT2_ARCH
.long MBOOT2_LENGTH
.long MBOOT2_CHECKSUM
.short 0
.short 0
.long 8
MultiBootHeader2End:
.section .text
.global _start
.code32