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

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

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