Fix: compatibility, kernel stack, + docs

This commit is contained in:
xamidev
2024-09-14 20:08:30 +02:00
parent becfc2bc3b
commit d89a1c4071
5 changed files with 22 additions and 5 deletions

View File

@@ -51,6 +51,7 @@ KERNEL_STACK_SIZE equ 4096
extern kmain
loader:
mov esp, kernel_stack + KERNEL_STACK_SIZE
cli
push ebx
call kmain
@@ -211,6 +212,6 @@ irq_common_stub:
section .bss
align 4
resb KERNEL_STACK_SIZE
kernel_stack:
resb KERNEL_STACK_SIZE
mov esp, kernel_stack + KERNEL_STACK_SIZE