temp commit for now

This commit is contained in:
Medium Fries 2019-01-23 17:38:12 -08:00
parent dca9f5acbb
commit bfeb83b717

View File

@ -14,7 +14,16 @@ align 4
dd CHECKSUM
loader:
mov eax, 0X1234ABCD
.loop:
jmp .loop
; section for our kernel stack
KERNEL_STACK_SIZE equ 4096
section .bss
align 4 ; aligned to 4 bytes for performance
kernel_stack:
; (res)erve (b)ytes x
resb KERNEL_STACK_SIZE ; 4k of stack size in mem
; now we setup the stack pointer for our kernel
mov esp, kernel_stack + KERNEL_STACK_SIZE