22 lines
518 B
ArmAsm
22 lines
518 B
ArmAsm
/*
|
|
* boot.S (riscv64) - Entry stub and linker-script symbol substitutes.
|
|
*
|
|
* Defines __text_start, __text_end, __kernel_start, __kernel_end so
|
|
* hal.c and pmm.c resolve. They all point to the image base, which is
|
|
* sufficient for the monolithic loader build (UEFI manages page ownership).
|
|
*/
|
|
.text
|
|
.global __text_start
|
|
.global __kernel_start
|
|
__text_start:
|
|
__kernel_start:
|
|
|
|
.global arch_bootstrap
|
|
arch_bootstrap:
|
|
ret
|
|
|
|
.global __text_end
|
|
.global __kernel_end
|
|
__text_end:
|
|
__kernel_end:
|