rename _start -> hos_start
This commit is contained in:
parent
b202eca0cc
commit
c8810e4701
12
src/boot.S
12
src/boot.S
@ -4,9 +4,9 @@ bootloader will jump to this position once the kernel has been loaded. It
|
|||||||
doesn't make sense to return from this function as the bootloader is gone.
|
doesn't make sense to return from this function as the bootloader is gone.
|
||||||
*/
|
*/
|
||||||
.section .text
|
.section .text
|
||||||
.global _start
|
.global hos_start
|
||||||
.type _start, @function
|
.type hos_start, @function
|
||||||
_start:
|
hos_start:
|
||||||
mov $_stack_end, %esp
|
mov $_stack_end, %esp
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -38,8 +38,4 @@ _start:
|
|||||||
1: hlt
|
1: hlt
|
||||||
jmp 1b
|
jmp 1b
|
||||||
|
|
||||||
/*
|
.size hos_start, . - hos_start
|
||||||
Set the size of the _start symbol to the current location '.' minus its start.
|
|
||||||
This is useful when debugging or when you implement call tracing.
|
|
||||||
*/
|
|
||||||
.size _start, . - _start
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ENTRY(_start)
|
ENTRY(hos_start)
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user