[BOOT] Multiboot compliant kernel which runs 64 bit code

This commit is contained in:
2016-07-24 00:45:20 +02:00
parent 1f8d5b3482
commit df86be2973
13 changed files with 433 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
.section .multiboot
#include <multiboot.h>
.align 0x1000
MultiBootHeader1:
.long MBOOT1_MAGIC
.long MBOOT1_HEADER_FLAGS
.long MBOOT1_HEADER_CHECKSUM
.align 0x1000
MultiBootHeader:
.long MBOOT2_MAGIC
.long MBOOT2_ARCH
.long MBOOT2_LENGTH
.long MBOOT2_CHECKSUM
// Multiboot tags
// End tag
.short 0
.short 0
.long 8
MultiBootHeaderEnd: