Skip to content

Commit

Permalink
improve swtch comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Morris committed Oct 8, 2017
1 parent 4638cab commit 1ab2317
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions swtch.S
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1ab2317

Please sign in to comment.