Now that the Rust compiler understands extern "x86-interrupt" as a calling convention, we don't need to use naked functions (and the ugly macro) to write interrupts on x86. This allows more of our interrupt-handling code to be cross-platform between 32- and 64-bit x86 systems, which is nice. This CC may also be slightly faster than naked functions in some cases.
This PR also includes some minor refactoring to the IDT type and other parts of the interrupt handling subsystem.
Now that the Rust compiler understands
extern "x86-interrupt"
as a calling convention, we don't need to use naked functions (and the ugly macro) to write interrupts on x86. This allows more of our interrupt-handling code to be cross-platform between 32- and 64-bit x86 systems, which is nice. This CC may also be slightly faster than naked functions in some cases.This PR also includes some minor refactoring to the IDT type and other parts of the interrupt handling subsystem.
Closes #78.