Skip to content
Snippets Groups Projects
Commit 1ab23170 authored by Robert Morris's avatar Robert Morris
Browse files

improve swtch comment

parent 4638cabf
No related merge requests found
......@@ -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:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment