improve swtch comment

This commit is contained in:
Robert Morris 2017-10-08 07:12:31 -04:00
parent 4638cabf8c
commit 1ab23170a1

View file

@ -2,8 +2,9 @@
#
# void swtch(struct context **old, struct context *new);
#
# Save current register context in old
# and then load register context from new.
# Save the current registers on the stack, creating
# a struct context, and save its address in *old.
# Switch stacks to new and pop previously-saved registers.
.globl swtch
swtch: