File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1062,7 +1062,10 @@ KiDispatchExceptionFromTrapFrame(IN NTSTATUS Code,
10621062 IN PKTRAP_FRAME TrapFrame )
10631063{
10641064 EXCEPTION_RECORD ExceptionRecord ;
1065+ // static ULONG Cnt = 0;
10651066
1067+ // if (Cnt++ > 30)
1068+ {
10661069 /* Build the exception record */
10671070 ExceptionRecord .ExceptionCode = Code ;
10681071 ExceptionRecord .ExceptionFlags = Flags ;
@@ -1084,6 +1087,7 @@ KiDispatchExceptionFromTrapFrame(IN NTSTATUS Code,
10841087 TrapFrame -> EFlags & EFLAGS_V86_MASK ?
10851088 -1 : KiUserTrap (TrapFrame ),
10861089 TRUE);
1090+ }
10871091
10881092 /* Return from this trap */
10891093 KiEoiHelper (TrapFrame );
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ idt _KiTrap0F, INT_32_DPL0 /* INT 12: Machine Check Exception (#MC)*/
5959idt _KiTrap0F , INT_32_DPL0 / * INT 13 : SIMD FPU Exception (#XF) * /
6060REPE AT 21
6161idt _KiTrap0F , INT_32_DPL0 / * INT 14 - 28 : UNDEFINED INTERRUPTS * /
62+ // idt _KiTrap01 , INT_32_DPL0 / * INT 14 - 28 : UNDEFINED INTERRUPTS * /
6263ENDR
6364idt _KiRaiseSecurityCheckFailure , INT_32_DPL3
6465 / * INT 29 : Handler for __fastfail * /
You can’t perform that action at this time.
0 commit comments