[HAL]: Mark ECX as clobbered in HalpNestedTrap, otherwise if the compiler decides...
authorSir Richard <sir_richard@svn.reactos.org>
Fri, 29 Jan 2010 08:14:51 +0000 (08:14 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Fri, 29 Jan 2010 08:14:51 +0000 (08:14 +0000)
svn path=/trunk/; revision=45316

reactos/hal/halx86/include/halp.h

index ab7e016..efa10ce 100644 (file)
@@ -128,7 +128,7 @@ HalpNestedTrap(IN KIRQL PendingIrql)
         :
         : "im"(SWInterruptHandlerTable2[PendingIrql]),
           [t] "i"(&PCR->VdmAlert)
-        : "%esp"
+        : "%esp","%ecx"
     );
     UNREACHABLE;
 }
@@ -560,6 +560,7 @@ HalpEnableInterruptHandler(IN UCHAR Flags,
 VOID NTAPI HalpInitializePICs(IN BOOLEAN EnableInterrupts);
 VOID HalpApcInterrupt(VOID);
 VOID HalpDispatchInterrupt(VOID);
+VOID HalpDispatchInterrupt2(VOID);
 VOID FASTCALL HalpApcInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);
 VOID FASTCALL HalpDispatchInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);