From c5c008ec965065ad787407b7160da8a050fce799 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 26 Aug 2006 16:23:59 +0000 Subject: [PATCH] - Even though in assembly we return the BOOLEAN in all of EAX, HalBeginSystemInterrupt should, in theory, only use AL and we shouldn't make assumptions about any other bits. So chang ethe code to or al, al, instead of or eax, eax. svn path=/trunk/; revision=23723 --- reactos/ntoskrnl/ke/i386/trap.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/ke/i386/trap.s b/reactos/ntoskrnl/ke/i386/trap.s index 087aefc7fb7..01619f7322c 100644 --- a/reactos/ntoskrnl/ke/i386/trap.s +++ b/reactos/ntoskrnl/ke/i386/trap.s @@ -1326,7 +1326,7 @@ _KiUnexpectedInterruptTail: call _HalBeginSystemInterrupt@12 /* Check if it was spurious or not */ - or eax, eax + or al, al jnz Handled /* Spurious, ignore it */ @@ -1407,7 +1407,7 @@ _KiChainedDispatch@0: call _HalBeginSystemInterrupt@12 /* Check if it was handled */ - or eax, eax + or al, al jz SpuriousInt /* Call the 2nd-level handler */ @@ -1444,7 +1444,7 @@ _KiInterruptDispatch@0: call _HalBeginSystemInterrupt@12 /* Check if it was handled */ - or eax, eax + or al, al jz SpuriousInt /* Acquire the lock */