Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stormckey committed Dec 14, 2023
1 parent f7705a3 commit a81e107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blog/posts/OS_lab5.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ nostatistics: true
- `schedule`: 根据policy选择下一个要调度的线程,调用 switch_to 至该线程
- `switch_to`: 获取先后线程的PCB地址,调用__switch_to
- `__switch_to`: 当前上下文存入 PCB,加载下一个进程的 PCB
- `__dummy`: 切用户栈,sret 返回用户段,而 sepc 是我们初始化的时候就指定的的 USER_START
- `__dummy`: 切用户栈,sret 返回用户段,而 sepc 是我们初始化的时候就指定的的 ENTRY
- `ENTRY`: PC跳转至ENTRY,但是此时该页的映射并未完成,PAGE FAULT
- `_traps`: PAGE FAULT,保存上下文进入trap_handler
- `trap_handler`: 确认是PAGE FAULT后,调用do_page_fault
Expand Down

0 comments on commit a81e107

Please sign in to comment.