mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +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
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue