git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Virtual memory & paging
[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
} __attribute__((packed)) isr_param;
11
12
void
13
_asm_isr0();
14
15
void
16
interrupt_handler(isr_param* param);
17
18
19
#endif /* __LUNAIX_INTERRUPTS_H */