git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic PS/2 keyboard driver, and ...
[lunaix-os.git]
/
lunaix-os
/
kernel
/
asm
/
x86
/
interrupt.S
diff --git
a/lunaix-os/kernel/asm/x86/interrupt.S
b/lunaix-os/kernel/asm/x86/interrupt.S
index 9d392734efbbd7e7f640e01c7611984ce193e447..f05c3b80fa4e134df079101abfe785b6b5a96c71 100644
(file)
--- a/
lunaix-os/kernel/asm/x86/interrupt.S
+++ b/
lunaix-os/kernel/asm/x86/interrupt.S
@@
-19,6
+19,13
@@
isr_template LUNAIX_SYS_PANIC
isr_template LUNAIX_SYS_PANIC
+ isr_template APIC_ERROR_IV
+ isr_template APIC_LINT0_IV
+ isr_template APIC_TIMER_IV
+ isr_template APIC_SPIV_IV
+ isr_template RTC_TIMER_IV
+ isr_template PC_KBD_IV
+
interrupt_wrapper:
pushl %esp
pushl %esi
interrupt_wrapper:
pushl %esp
pushl %esi
@@
-34,9
+41,8
@@
subl $16, %esp
movl %eax, (%esp)
subl $16, %esp
movl %eax, (%esp)
- call interrupt_handler
- popl %eax
- movl %eax, %esp
+ call intr_handler
+ popl %esp
popl %eax
popl %ebx
popl %eax
popl %ebx