CPU Exceptions (zh-CN) #1325
Replies: 1 comment
-
So when I actually run InterruptStackFrame{hem well.
It did not crash!ointer: VirtAdddr(
0x2056a1,
), Is there something wrong with me? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CPU Exceptions (zh-CN)
CPU异常在很多情况下都有可能发生,比如访问无效的内存地址,或者在除法运算里除以0。为了处理这些错误,我们需要设置一个 中断描述符表 来提供异常处理函数。在文章的最后,我们的内核将能够捕获 断点异常 并在处理后恢复正常执行。
https://os.phil-opp.com/zh-CN/cpu-exceptions/
Beta Was this translation helpful? Give feedback.
All reactions