ISR of type `extern "C" unsafe fn()`
* INTR_GATE as flags of an interrupt gate
Refactor IO