13 lines
251 B
NASM
13 lines
251 B
NASM
.section .text.entry
|
|
.global _start
|
|
_start:
|
|
la sp, boot_stack_top
|
|
call rust_main
|
|
|
|
.section .bss.stack
|
|
.global boot_stack_lower_bound
|
|
boot_stack_lower_bound:
|
|
.space 4096 * 16
|
|
.global boot_stack_top
|
|
boot_stack_top:
|