提交 1ab23170 创建 作者: Robert Morris's avatar Robert Morris

improve swtch comment

上级 4638cabf
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论