temp commit for now
This commit is contained in:
1 parent
dca9f5acbb
commit
bfeb83b717
1 file changed
+11
-2
+11
-2
@@ -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
|
||||
Reference in new issue
Block a user