blob: 262ea1632475458cca3dc2531a273c9c7b17b15a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <stdbool.h>
#include <stdint.h>
#define IRQ_COM1 4
#define IRQ_IBASE 0x20
#define IRQ_PIT 0
#define IRQ_PS2KB 1
#define IRQ_PS2MOUSE 12
#define IRQ_RTL8139 11
extern void (*irq_fn[16])(void);
extern const char _isr_stubs;
void irq_init(void);
void irq_eoi(uint8_t line);
void isr_stage3(uint8_t interrupt, uint64_t *stackframe);
|