Add initial classes representing APIC
This commit is contained in:
@@ -1,4 +1,21 @@
|
||||
#pragma once
|
||||
/// \file interrupts.h
|
||||
/// Free functions and definitions related to interrupt service vectors
|
||||
|
||||
|
||||
/// Enum of all defined ISR/IRQ vectors
|
||||
enum class isr : uint8_t
|
||||
{
|
||||
#define ISR(i, name) name = i,
|
||||
#define EISR(i, name) name = i,
|
||||
#define IRQ(i, q, name) name = i,
|
||||
#include "interrupt_isrs.inc"
|
||||
#undef IRQ
|
||||
#undef EISR
|
||||
#undef ISR
|
||||
|
||||
max
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
void interrupts_enable();
|
||||
|
||||
Reference in New Issue
Block a user