mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Use our own stack space, not efi's.
This commit is contained in:
@@ -19,6 +19,7 @@ global _start:function (_start.end - _start)
|
||||
_start:
|
||||
cli
|
||||
|
||||
mov rsp, stack_end
|
||||
extern kernel_main
|
||||
call kernel_main
|
||||
|
||||
@@ -38,3 +39,8 @@ global interrupts_disable
|
||||
interrupts_disable:
|
||||
cli
|
||||
ret
|
||||
|
||||
section .bss
|
||||
stack_begin:
|
||||
resb 0x4000 ; 16KiB stack space
|
||||
stack_end:
|
||||
|
||||
Reference in New Issue
Block a user