minor optimization
Modified: trunk/reactos/ntoskrnl/ke/i386/irq.c
Modified: trunk/reactos/ntoskrnl/ke/i386/irqhand.s
_____
Modified: trunk/reactos/ntoskrnl/ke/i386/irq.c
--- trunk/reactos/ntoskrnl/ke/i386/irq.c 2005-05-21 12:23:07 UTC
(rev 15455)
+++ trunk/reactos/ntoskrnl/ke/i386/irq.c 2005-05-21 12:57:34 UTC
(rev 15456)
@@ -53,9 +53,7 @@
"pushl %esp\n\t" \
"pushl %ebx\n\t" \
"call _KiInterruptDispatch\n\t" \
- "popl %eax\n\t" \
- "popl %eax\n\t" \
- "popl %eax\n\t" \
+ "addl $0xC, %esp\n\t" \
"popl %gs\n\t" \
"popl %fs\n\t" \
"popl %es\n\t" \
_____
Modified: trunk/reactos/ntoskrnl/ke/i386/irqhand.s
--- trunk/reactos/ntoskrnl/ke/i386/irqhand.s 2005-05-21 12:23:07 UTC
(rev 15455)
+++ trunk/reactos/ntoskrnl/ke/i386/irqhand.s 2005-05-21 12:57:34 UTC
(rev 15456)
@@ -21,9 +21,7 @@
pushl %esp
pushl $(IRQ_BASE + 0)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -50,9 +48,7 @@
pushl %esp
pushl $(IRQ_BASE + 1)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -79,9 +75,7 @@
pushl %esp
pushl $(IRQ_BASE + 2)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -108,9 +102,7 @@
pushl %esp
pushl $(IRQ_BASE + 3)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -137,9 +129,7 @@
pushl %esp
pushl $(IRQ_BASE + 4)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -166,9 +156,7 @@
pushl %esp
pushl $(IRQ_BASE + 5)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -195,9 +183,7 @@
pushl %esp
pushl $(IRQ_BASE + 6)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -224,9 +210,7 @@
pushl %esp
pushl $(IRQ_BASE + 7)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -253,9 +237,7 @@
pushl %esp
pushl $(IRQ_BASE + 8)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -282,9 +264,7 @@
pushl %esp
pushl $(IRQ_BASE + 9)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -311,9 +291,7 @@
pushl %esp
pushl $(IRQ_BASE + 10)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -340,9 +318,7 @@
pushl %esp
pushl $(IRQ_BASE + 11)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -369,9 +345,7 @@
pushl %esp
pushl $(IRQ_BASE + 12)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -398,9 +372,7 @@
pushl %esp
pushl $(IRQ_BASE + 13)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -427,9 +399,7 @@
pushl %esp
pushl $(IRQ_BASE + 14)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es
@@ -456,9 +426,7 @@
pushl %esp
pushl $(IRQ_BASE + 15)
call _KiInterruptDispatch
- popl %eax
- popl %eax
- popl %eax
+ addl $0xC, %esp
popl %gs
popl %fs
popl %es