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:
|
_start:
|
||||||
cli
|
cli
|
||||||
|
|
||||||
|
mov rsp, stack_end
|
||||||
extern kernel_main
|
extern kernel_main
|
||||||
call kernel_main
|
call kernel_main
|
||||||
|
|
||||||
@@ -38,3 +39,8 @@ global interrupts_disable
|
|||||||
interrupts_disable:
|
interrupts_disable:
|
||||||
cli
|
cli
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
section .bss
|
||||||
|
stack_begin:
|
||||||
|
resb 0x4000 ; 16KiB stack space
|
||||||
|
stack_end:
|
||||||
|
|||||||
Reference in New Issue
Block a user