[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:
2020-12-30 17:56:37 -08:00
committed by Justin C. Miller
parent 8bb78c95a8
commit a8024d3dd3
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
ENTRY(_start)
ENTRY(_kernel_start)
SECTIONS
{
. = 0xFFFF800000000000;

View File

@@ -14,8 +14,8 @@ _header:
section .text
align 16
global _start:function (_start.end - _start)
_start:
global _kernel_start:function (_kernel_start.end - _kernel_start)
_kernel_start:
cli
mov rsp, idle_stack_end