Catching Exceptions

1 · Philipp Oppermann · May 28, 2016, midnight
In this post, we start exploring exceptions. We set up an interrupt descriptor table and add handler functions. At the end of this post, our kernel will be able to catch divide-by-zero faults. As always, the complete source code is on GitHub. Please file issues for any problems, questions, or improvement suggestions. There is also a comment section at the end of this page. Note: This post describes how to handle exceptions using naked functions (see “Handling Exceptions with Naked Functions” f...