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

#define IRQ_IBASE 0x20
#define IRQ_PIT 0
#define IRQ_PS2KB 1
#define IRQ_COM1 4
#define IRQ_PS2MOUSE 12

#define IRQ_RTL8139 11

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