Catching Exceptions

from blog Writing an OS in Rust, | ↗ original
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...