- Enable 2ndEntry for HalpEndSoftwareInterrupt (pending interrupt inside an interrupt).
svn path=/trunk/; revision=23664
\r
/* Set IRQL and check if there are pending software interrupts */\r
mov [fs:KPCR_IRQL], cl\r
-#if 0\r
mov eax, [fs:KPCR_IRR]\r
mov al, _SoftIntByteTable[eax]\r
cmp al, cl\r
- ja DoCall\r
-#endif\r
+ //ja DoCall\r
ret 8\r
\r
DoCall:\r
\r
/* There are pending softwate interrupts, call their handlers */\r
- add esp, 8\r
+ add esp, 12\r
jmp SoftIntHandlerTable2[eax*4]\r
.endfunc\r
\r
SoftwareInt:\r
/* Check if there are pending software interrupts */\r
mov [fs:KPCR_IRQL], cl\r
-#if 0\r
- mov eax, [fs:KPCR_IDR]\r
+ mov eax, [fs:KPCR_IRR]\r
mov al, _SoftIntByteTable[eax]\r
cmp al, cl\r
ja DoCall2\r
-#endif\r
ret 4\r
\r
DoCall2:\r