[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
parent 87a7293ac1
commit db8a14720b
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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