x86_64: adjust formatting
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user