| 134 | } |
| 135 | |
| 136 | void InvalidInterruptHandler(void*, regs64_t* r){ |
| 137 | Log::Warning("Invalid interrupt handler called!"); |
| 138 | } |
| 139 | |
| 140 | static void SetGate(uint8_t num, uint64_t base, uint16_t sel, uint8_t flags, uint8_t ist = 0) { |
| 141 | idt[num].base_high = (base >> 32); |