setos

拙OS
Log | Files | Refs | LICENSE

commit b0aba4ed96abbdbd523b16af006a220e1115383d
parent 4e2032cfc790bbe0f8686ccafbf472d2285884b0
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Fri,  5 Apr 2024 15:30:06 +0900

delete unnecessary lines

Diffstat:
Msys/src/kernel/start.s | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys/src/kernel/start.s b/sys/src/kernel/start.s @@ -1,10 +1,8 @@ .global kernel_start kernel_start: - push %rbp - mov %rsp, %rbx /* rbx is preserved in sysv abi. */ mov $(kernel_main_stack + 1024 * 1024), %rsp mov %rsp, %rbp call kernel_main - mov %rbx, %rsp - pop %rbp - ret -\ No newline at end of file +hlt: + hlt + jmp hlt +\ No newline at end of file