mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Rename kernel entrypoint
The kernel entrypoint being named _start conflicts with userspace program entrypoints and makes debugging more difficult. Rename it to _kernel_start.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
ENTRY(_start)
|
ENTRY(_kernel_start)
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
. = 0xFFFF800000000000;
|
. = 0xFFFF800000000000;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ _header:
|
|||||||
|
|
||||||
section .text
|
section .text
|
||||||
align 16
|
align 16
|
||||||
global _start:function (_start.end - _start)
|
global _kernel_start:function (_kernel_start.end - _kernel_start)
|
||||||
_start:
|
_kernel_start:
|
||||||
cli
|
cli
|
||||||
|
|
||||||
mov rsp, idle_stack_end
|
mov rsp, idle_stack_end
|
||||||
|
|||||||
Reference in New Issue
Block a user