summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts/irq.h
blob: 2a4b12d8a48325a6b75b6f4dec6298265f6bf7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <stdbool.h>
#include <stdint.h>

#define IRQ_IBASE 0x20
#define IRQ_PIT 0
#define IRQ_PS2 1
#define IRQ_COM1 4

void irq_init(void);
void irq_eoi(uint8_t line);