Bootloader loading kernel, not yet jumping to it
This commit is contained in:
@@ -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 $
|
||||
1
src/arch/x86_64/details.c
Normal file
1
src/arch/x86_64/details.c
Normal file
@@ -0,0 +1 @@
|
||||
const char *KERNEL_PLATFORM = "x86_64";
|
||||
@@ -1,4 +1,4 @@
|
||||
ENTRY(start)
|
||||
ENTRY(kernel_main)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x100000;
|
||||
|
||||
Reference in New Issue
Block a user