#include "ki.h"Go to the source code of this file.
| Defines | |
| #define | FN_BITS_PER_TAGWORD 16 | 
| #define | FN_TAG_EMPTY 0x3 | 
| #define | FN_TAG_MASK 0x3 | 
| #define | FX_TAG_VALID 0x1 | 
| #define | NUMBER_OF_FP_REGISTERS 8 | 
| #define | BYTES_PER_FP_REGISTER 10 | 
| #define | BYTES_PER_FX_REGISTER 16 | 
| Functions | |
| VOID | Ki386AdjustEsp0 (IN PKTRAP_FRAME TrapFrame) | 
| BOOLEAN | KiEm87StateToNpxFrame (OUT PFLOATING_SAVE_AREA NpxFrmae) | 
| BOOLEAN | KiNpxFrameToEm87State (IN PFLOATING_SAVE_AREA NpxFrmae) | 
| ULONG | KiEspFromTrapFrame (IN PKTRAP_FRAME TrapFrame) | 
| VOID | KiEspToTrapFrame (IN PKTRAP_FRAME TrapFrame, IN ULONG Esp) | 
| ULONG | KiSegSsFromTrapFrame (IN PKTRAP_FRAME TrapFrame) | 
| VOID | KiSegSsToTrapFrame (IN PKTRAP_FRAME TrapFrame, IN ULONG SegSs) | 
| VOID | KeContextFromKframes (IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN OUT PCONTEXT ContextFrame) | 
| VOID | KeContextToKframes (IN OUT PKTRAP_FRAME TrapFrame, IN OUT PKEXCEPTION_FRAME ExceptionFrame, IN PCONTEXT ContextFrame, IN ULONG ContextFlags, IN KPROCESSOR_MODE PreviousMode) | 
| VOID | KiDispatchException (IN PEXCEPTION_RECORD ExceptionRecord, IN PKEXCEPTION_FRAME ExceptionFrame, IN PKTRAP_FRAME TrapFrame, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN FirstChance) | 
| ULONG | KiCopyInformation (IN OUT PEXCEPTION_RECORD ExceptionRecord1, IN PEXCEPTION_RECORD ExceptionRecord2) | 
| NTSTATUS | KeRaiseUserException (IN NTSTATUS ExceptionCode) | 
| Variables | |
| UCHAR | VdmUserCr0MapIn [] | 
| BOOLEAN | KeI386FxsrPresent | 
| BOOLEAN | KeI386XMMIPresent | 
| 
 | 
| 
 Definition at line 41 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 42 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 36 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 37 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 38 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 39 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 40 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
| 
 | ||||||||||||||||
| 
 Definition at line 278 of file i386/exceptn.c. References Buffer, CONTEXT_CONTROL, CONTEXT_FLOATING_POINT, CONTEXT_INTEGER, KeGetCurrentThread, KeI386FxsrPresent, KeI386NpxPresent, KernelMode, KiEm87StateToNpxFrame(), KiEspFromTrapFrame(), KiSegSsFromTrapFrame(), L, NULL, TRUE, and UserMode. 
 
 | 
| 
 | ||||||||||||||||||||||||
| 
 Definition at line 544 of file i386/exceptn.c. References ASSERT, BYTES_PER_FP_REGISTER, BYTES_PER_FX_REGISTER, CONTEXT_CONTROL, CONTEXT_FLOATING_POINT, CONTEXT_INTEGER, FALSE, FN_BITS_PER_TAGWORD, FN_TAG_EMPTY, FN_TAG_MASK, FX_TAG_VALID, KeGetCurrentThread, KeGetPcr, KeI386FxsrPresent, KeI386NpxPresent, KeLowerIrql(), KernelMode, Ki386AdjustEsp0(), KiEspToTrapFrame(), KiNpxFrameToEm87State(), KiSegSsToTrapFrame(), NULL, NUMBER_OF_FP_REGISTERS, TRUE, UserMode, USHORT, and VdmUserCr0MapIn. 
 
 | 
| 
 | 
| 
 Definition at line 1394 of file i386/exceptn.c. References ASSERT, EXCEPTION_EXECUTE_HANDLER, KeGetCurrentThread, KeRaiseUserExceptionDispatcher, NTSTATUS(), _KTHREAD::Teb, _KTHREAD::TrapFrame, and UserMode. 
 
 | 
| 
 | 
| 
 Referenced by KeContextToKframes(). | 
| 
 | ||||||||||||
| 
 Definition at line 1354 of file i386/exceptn.c. References EXCEPTION_EXECUTE_HANDLER. 
 
 | 
| 
 | ||||||||||||||||||||||||
| 
 Definition at line 970 of file i386/exceptn.c. References ASSERT, CONTEXT_FLOATING_POINT, CONTEXT_FULL, DbgkForwardException(), ExRaiseException(), FALSE, KdIsThisAKdTrap(), KeBugCheckEx(), KeContextFromKframes(), KeContextToKframes(), KeGetCurrentPrcb, KeI386XMMIPresent, KernelMode, KeUserExceptionDispatcher, KiCopyInformation(), KiDebugRoutine, KiEspToTrapFrame(), KiSegSsToTrapFrame(), KMODE_EXCEPTION_NOT_HANDLED, NULL, ProbeForWrite(), PsGetCurrentProcess, RtlDispatchException(), TRUE, and UserMode. 
 
 | 
| 
 | 
| 
 Referenced by KeContextFromKframes(). | 
| 
 | 
| 
 Definition at line 65 of file i386/exceptn.c. References KernelMode. Referenced by KeContextFromKframes(), and KiEspToTrapFrame(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 115 of file i386/exceptn.c. References KeBugCheck(), KernelMode, and KiEspFromTrapFrame(). Referenced by KeContextToKframes(), and KiDispatchException(). 
 
 | 
| 
 | 
| 
 Referenced by KeContextToKframes(). | 
| 
 | 
| 
 Definition at line 189 of file i386/exceptn.c. References KernelMode. Referenced by KeContextFromKframes(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 227 of file i386/exceptn.c. References UserMode. Referenced by KeContextToKframes(), and KiDispatchException(). 
 
 | 
| 
 | 
| 
 Definition at line 45 of file i386/exceptn.c. | 
| 
 | 
| 
 Definition at line 46 of file i386/exceptn.c. Referenced by KeRestoreFloatingPointState(), KeSaveFloatingPointState(), KiDispatchException(), KiInitializeContextThread(), and KiInitializeKernel(). | 
| 
 | 
| 
 Definition at line 44 of file i386/exceptn.c. Referenced by KeContextToKframes(). | 
 1.3.7
 1.3.7