1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-02-06 03:43:28 +08:00
Files
archbase/materials/chapter4/context_switch.csv
2021-10-27 19:14:51 +08:00

8 lines
545 B
CSV
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
场景,上下文切换时保存和恢复的内容
函数调用,部分寄存器(包括栈帧相关的$sp$fp、返回地址
中断和异常,(通常情况)全部定点寄存器、异常现场信息、异常相关信息
系统调用,部分定点寄存器(包括栈帧相关寄存器)、异常现场信息
线程,全部用户态寄存器、TLS、当前PC等相关信息
进程,全部用户态寄存器、页表基址等控制寄存器、当前PC等相关信息
虚拟机,虚拟CPU状态(寄存器、必要的特权资源等)