blob: ab760923781c2f5c5c44871724764bf2acac6f78 (
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
|
#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);
#endif
|