Add an inline table of contents to all posts

This commit is contained in:
Philipp Oppermann
2019-03-19 13:01:25 +01:00
parent 6055a2e342
commit 48d96243ea
10 changed files with 20 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ This blog is openly developed on [GitHub]. If you have any problems or questions
[at the bottom]: #comments
[post branch]: https://github.com/phil-opp/blog_os/tree/post-07
<!-- toc -->
## What is a Double Fault?
In simplified terms, a double fault is a special exception that occurs when the CPU fails to invoke an exception handler. For example, it occurs when a page fault is triggered but there is no page fault handler registered in the [Interrupt Descriptor Table][IDT] (IDT). So it's kind of similar to catch-all blocks in programming languages with exceptions, e.g. `catch(...)` in C++ or `catch(Exception e)` in Java or C#.