mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00: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