git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b608cd6217a2f22d028746ac42ecaf0c2f637148
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
interrupts.h
1
#ifndef __LUNAIX_INTERRUPTS_H
2
#define __LUNAIX_INTERRUPTS_H
3
4
typedef struct {
5
unsigned int vector;
6
unsigned int err_code;
7
unsigned int eip;
8
unsigned int cs;
9
unsigned int eflags;
10
unsigned int esp;
11
unsigned int ss;
12
} __attribute__((packed)) isr_param;
13
14
void
15
_asm_isr0();
16
17
void
18
interrupt_handler(isr_param* param);
19
20
#endif /* __LUNAIX_INTERRUPTS_H */