x86_64: adjust formatting

This commit is contained in:
2026-02-08 11:36:16 +00:00
parent 4051265876
commit 00ea2b1b3b
7 changed files with 366 additions and 331 deletions

View File

@@ -1,9 +1,9 @@
.code64
.code64
.extern THREAD_sp
.global switch_to
.type switch_to, @function
.extern THREAD_sp
.global switch_to
.type switch_to, @function
// %rdi = (struct thread *) current thread.
// %rsi = (struct thread *) next thread.
@@ -26,7 +26,7 @@ switch_to:
push %r13
push %r14
push %r15
movq %rsp, THREAD_sp(%rdi)
movq THREAD_sp(%rsi), %rsp