projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PERF]: Optimize nested interrupt cases (where a pending interrupt exists at the...
[reactos.git]
/
reactos
/
ntoskrnl
/
ke
/
time.c
diff --git
a/reactos/ntoskrnl/ke/time.c
b/reactos/ntoskrnl/ke/time.c
index
17488ac
..
11fca02
100644
(file)
--- a/
reactos/ntoskrnl/ke/time.c
+++ b/
reactos/ntoskrnl/ke/time.c
@@
-112,6
+112,9
@@
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
Prcb->InterruptCount++;
}
+ /* Save the nested trap frame address */
+ KeGetPcr()->VdmAlert = (ULONG_PTR)TrapFrame;
+
/* Disable interrupts and end the interrupt */
_disable();
HalEndSystemInterrupt(Irql, CLOCK2_LEVEL);