15 lines
316 B
C
15 lines
316 B
C
#include <stdint.h>
|
|
|
|
struct InterruptDescriptor
|
|
{
|
|
|
|
};
|
|
|
|
struct InterruptDescriptorTable
|
|
{
|
|
uint16_t limit; /* Size of IDT array - 1 */
|
|
struct InterruptDescriptor* base; /* Pointer to IDT array */
|
|
} __attribute__((packed));
|
|
|
|
void interrupt_initialize(struct InterruptDescriptorTable IDT);
|