mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[NTOS:PS/x64] Use KiGetTrapContext from PspGetOrSetContextKernelRoutine
This commit is contained in:
@@ -58,10 +58,8 @@ PspGetOrSetContextKernelRoutine(
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Convert the trap frame to a context */
|
||||
KeTrapFrameToContext(TrapFrame,
|
||||
NULL,
|
||||
&GetSetContext->Context);
|
||||
/* Get the nonvolatiles from the stack */
|
||||
KiGetTrapContext(TrapFrame, &GetSetContext->Context);
|
||||
}
|
||||
|
||||
/* Notify the Native API that we are done */
|
||||
|
Reference in New Issue
Block a user