mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[HAL]: Mark ECX as clobbered in HalpNestedTrap, otherwise if the compiler decides to store IRQL in ECX, it will then be overriden with our ECX parameter. With this clobber, the compiler will use another register, such as EAX, to hold the IRQL.
svn path=/trunk/; revision=45316
This commit is contained in:
parent
4fa5e49fa3
commit
38668a867a
|
@ -128,7 +128,7 @@ HalpNestedTrap(IN KIRQL PendingIrql)
|
||||||
:
|
:
|
||||||
: "im"(SWInterruptHandlerTable2[PendingIrql]),
|
: "im"(SWInterruptHandlerTable2[PendingIrql]),
|
||||||
[t] "i"(&PCR->VdmAlert)
|
[t] "i"(&PCR->VdmAlert)
|
||||||
: "%esp"
|
: "%esp","%ecx"
|
||||||
);
|
);
|
||||||
UNREACHABLE;
|
UNREACHABLE;
|
||||||
}
|
}
|
||||||
|
@ -560,6 +560,7 @@ HalpEnableInterruptHandler(IN UCHAR Flags,
|
||||||
VOID NTAPI HalpInitializePICs(IN BOOLEAN EnableInterrupts);
|
VOID NTAPI HalpInitializePICs(IN BOOLEAN EnableInterrupts);
|
||||||
VOID HalpApcInterrupt(VOID);
|
VOID HalpApcInterrupt(VOID);
|
||||||
VOID HalpDispatchInterrupt(VOID);
|
VOID HalpDispatchInterrupt(VOID);
|
||||||
|
VOID HalpDispatchInterrupt2(VOID);
|
||||||
VOID FASTCALL HalpApcInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);
|
VOID FASTCALL HalpApcInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);
|
||||||
VOID FASTCALL HalpDispatchInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);
|
VOID FASTCALL HalpDispatchInterrupt2ndEntry(IN PKTRAP_FRAME TrapFrame);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue