mirror of
https://github.com/reactos/reactos.git
synced 2024-09-27 21:16:34 +00:00
[NTOS:KE] Implement the internal FPU state context structure
This is needed to store FPU state information when saving or restoring the floating point state of a system due to a call to KeSaveFloatingPointState or KeRestoreFloatingPointState.
This commit is contained in:
parent
d88cd0eefc
commit
c020966091
|
@ -235,6 +235,17 @@ typedef struct _LARGE_IDENTITY_MAP
|
|||
PVOID PagesList[30];
|
||||
} LARGE_IDENTITY_MAP, *PLARGE_IDENTITY_MAP;
|
||||
|
||||
//
|
||||
// Floating Point Internal Context Structure
|
||||
//
|
||||
typedef struct _FLOATING_SAVE_CONTEXT
|
||||
{
|
||||
PKTHREAD CurrentThread;
|
||||
KIRQL OldNpxIrql;
|
||||
PFX_SAVE_AREA Buffer;
|
||||
PFX_SAVE_AREA PfxSaveArea;
|
||||
} FLOATING_SAVE_CONTEXT, *PFLOATING_SAVE_CONTEXT;
|
||||
|
||||
/* Diable interrupts and return whether they were enabled before */
|
||||
FORCEINLINE
|
||||
BOOLEAN
|
||||
|
|
Loading…
Reference in a new issue