KeRestoreExtendedProcessorState - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID KeRestoreExtendedProcessorState(
  [in] PXSTATE_SAVE XStateSave
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kerestoreextendedprocessorstate)

KeRestoreExtendedProcessorState function

Description

The KeRestoreExtendedProcessorState routine restores extended processor state information that was previously saved.

Parameters

XStateSave [in]

A pointer to an XSTATE_SAVE structure that contains the extended processor state information to restore. The contents of this structure must have been previously saved by the KeSaveExtendedProcessorState routine.

Remarks

Kernel-mode driver code must ensure that calls to KeSaveExtendedProcessorState and KeRestoreExtendedProcessorState are properly nested. This is required so that, at each nesting level, the state that was restored by the KeRestoreExtendedProcessorState call is the same state that was saved by the corresponding KeSaveExtendedProcessorState call. To ensure proper nesting, kernel-mode driver code must follow these rules:

A similar set of rules apply to the KeSaveFloatingPointState and KeRestoreFloatingPointState routines.

See also

KeRestoreFloatingPointState

KeSaveExtendedProcessorState

KeSaveFloatingPointState

XSTATE_SAVE