summaryrefslogtreecommitdiff
path: root/kernel/interrupts.h
blob: aafd5d4b74fe1cc9cbc3991c5d79b05fd7df8405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef INTERRUPTS_H
#define INTERRUPTS_H

#include <stdint.h>
/**
 * @file
 *
 * Interrupts
 * ==========
 * 0x00-0x12 Exceptions
 * 0x20-0x27 disabled pic
 * 0x28-0x36 disabled pic
 * 
 * Hardware
 * --------
 * 0x0 PIT Timer -> 0x90
 * 0x1 Keyboard  -> 0x91
 * 0xC Mouse     -> 0x92
 *
 * 0x8C APIC Timer
 * 
 * Software
 * ========
 * 0x80 System Call
 * 0x81 IPI
 */

void interrupts_init(uint16_t sel);
void int_install();
#endif