Bootloader loading kernel, not yet jumping to it

This commit is contained in:
Justin C. Miller
2018-03-18 16:41:11 -07:00
parent 0e3fa1c3cf
commit 72e143b93c
13 changed files with 117 additions and 103 deletions

View File

@@ -1,12 +0,0 @@
; boot.s -- Kernel start location.
[BITS 64]
ALIGN 4
SECTION .text
[GLOBAL start]
start:
; Load multiboot header location
mov ebx, 0xdeadbeef
jmp $

View File

@@ -0,0 +1 @@
const char *KERNEL_PLATFORM = "x86_64";

View File

@@ -1,4 +1,4 @@
ENTRY(start)
ENTRY(kernel_main)
SECTIONS
{
. = 0x100000;