ReactOS
0.4.15-dev-2359-g0dedb9b
|
Go to the source code of this file.
Classes | |
union | _KTRAP_EXIT_SKIP_BITS |
struct | _KV86_FRAME |
struct | _KV8086_STACK_FRAME |
struct | _LARGE_IDENTITY_MAP |
Typedefs | |
typedef union _KTRAP_EXIT_SKIP_BITS | KTRAP_EXIT_SKIP_BITS |
typedef union _KTRAP_EXIT_SKIP_BITS * | PKTRAP_EXIT_SKIP_BITS |
typedef struct _KV86_FRAME | KV86_FRAME |
typedef struct _KV86_FRAME * | PKV86_FRAME |
typedef struct _KV8086_STACK_FRAME | KV8086_STACK_FRAME |
typedef struct _KV8086_STACK_FRAME * | PKV8086_STACK_FRAME |
typedef struct _LARGE_IDENTITY_MAP | LARGE_IDENTITY_MAP |
typedef struct _LARGE_IDENTITY_MAP * | PLARGE_IDENTITY_MAP |
#define KeGetContextSwitches | ( | Prcb | ) | CONTAINING_RECORD(Prcb, KIPCR, PrcbData)->ContextSwitches |
#define KeGetTrapFrameInterruptState | ( | TrapFrame | ) | BooleanFlagOn((TrapFrame)->EFlags, EFLAGS_INTERRUPT_MASK) |
#define KeSetContextReturnRegister | ( | Context, | |
ReturnValue | |||
) | ((Context)->Eax = (ReturnValue)) |
#define KiCallVdmPrefixHandler | ( | x | ) | KiVdmOpcodePrefix(TrapFrame, Flags | x) |
#define KiVdmClearVdmEFlags | ( | x | ) | InterlockedAnd((PLONG)KiNtVdmState, ~(x)) |
#define KiVdmSetVdmEFlags | ( | x | ) | InterlockedOr((PLONG)KiNtVdmState, (x)); |
#define KTE_SKIP_PM_BIT (((KTRAP_EXIT_SKIP_BITS) { { .SkipPreviousMode = TRUE } }).Bits) |
#define KTE_SKIP_SEG_BIT (((KTRAP_EXIT_SKIP_BITS) { { .SkipSegments = TRUE } }).Bits) |
#define KTE_SKIP_VOL_BIT (((KTRAP_EXIT_SKIP_BITS) { { .SkipVolatiles = TRUE } }).Bits) |
typedef union _KTRAP_EXIT_SKIP_BITS KTRAP_EXIT_SKIP_BITS |
typedef struct _KV86_FRAME KV86_FRAME |
typedef union _KTRAP_EXIT_SKIP_BITS * PKTRAP_EXIT_SKIP_BITS |
typedef struct _KV8086_STACK_FRAME * PKV8086_STACK_FRAME |
typedef struct _KV86_FRAME * PKV86_FRAME |
typedef struct _LARGE_IDENTITY_MAP * PLARGE_IDENTITY_MAP |
C_ASSERT | ( | NPX_FRAME_LENGTH | = =sizeof(FX_SAVE_AREA) | ) |
Referenced by KiTrap0EHandler().
Referenced by KeInvalidAccessAllowed(), and KiCheckForSListFault().
Referenced by KiCheckForSListFault().
NTSTATUS NTAPI Ke386GetGdtEntryThread | ( | IN PKTHREAD | Thread, |
IN ULONG | Offset, | ||
IN PKGDTENTRY | Descriptor | ||
) |
Definition at line 26 of file ldt.c.
Referenced by PspQueryDescriptorThread().
FORCEINLINE PVOID Ke386SanitizeDr | ( | IN PVOID | DrAddress, |
IN KPROCESSOR_MODE | Mode | ||
) |
Definition at line 627 of file ke.h.
FORCEINLINE ULONG Ke386SanitizeFlags | ( | IN ULONG | Eflags, |
IN KPROCESSOR_MODE | Mode | ||
) |
Definition at line 610 of file ke.h.
Referenced by KeContextToTrapFrame(), and KiInitializeUserApc().
FORCEINLINE ULONG Ke386SanitizeSeg | ( | IN ULONG | Cs, |
IN KPROCESSOR_MODE | Mode | ||
) |
Definition at line 593 of file ke.h.
Referenced by KeContextToTrapFrame(), KiDispatchException(), and KiInitializeUserApc().
FORCEINLINE VOID Ke386SetGdtEntryBase | ( | PKGDTENTRY | GdtEntry, |
PVOID | BaseAddress | ||
) |
Definition at line 309 of file ke.h.
Referenced by KiSetTebBase().
FORCEINLINE BOOLEAN KeDisableInterrupts | ( | VOID | ) |
FORCEINLINE VOID KeFlushProcessTb | ( | VOID | ) |
FORCEINLINE PRKTHREAD KeGetCurrentThread | ( | VOID | ) |
Definition at line 284 of file ke.h.
Referenced by KiCheckForApcDelivery(), and KiGetUserModeStackAddress().
FORCEINLINE VOID KeInvalidateTlbEntry | ( | IN PVOID | Address | ) |
FORCEINLINE PVOID KeQueryInterruptHandler | ( | IN ULONG | Vector | ) |
Definition at line 233 of file ke.h.
Definition at line 208 of file ke.h.
FORCEINLINE VOID KeRestoreInterrupts | ( | BOOLEAN | WereEnabled | ) |
Definition at line 271 of file ke.h.
VOID NTAPI Ki386AdjustEsp0 | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 280 of file exp.c.
Referenced by KeContextToTrapFrame(), KiVdmOpcodeIRET(), KiVdmOpcodePOPF(), and VdmSwapContext().
VOID FASTCALL Ki386BiosCallReturnAddress | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Referenced by KiEnterV86Mode(), and KiTrap0DHandler().
BOOLEAN NTAPI Ki386CreateIdentityMap | ( | IN PLARGE_IDENTITY_MAP | IdentityMap, |
IN PVOID | StartPtr, | ||
IN ULONG | Length | ||
) |
Referenced by KiInitMachineDependent().
Referenced by Ki386EnableTargetLargePage(), and KiInitMachineDependent().
Definition at line 70 of file patpge.c.
Referenced by KiInitMachineDependent().
Definition at line 1065 of file cpu.c.
Referenced by KiInitMachineDependent().
VOID NTAPI Ki386FreeIdentityMap | ( | IN PLARGE_IDENTITY_MAP | IdentityMap | ) |
Referenced by KiInitMachineDependent().
BOOLEAN FASTCALL Ki386HandleOpcodeV86 | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 456 of file v86vdm.c.
Referenced by KiTrap0DHandler().
VOID FASTCALL Ki386InitializeTss | ( | IN PKTSS | Tss, |
IN PKIDTENTRY | Idt, | ||
IN PKGDTENTRY | Gdt | ||
) |
Definition at line 799 of file cpu.c.
Referenced by KiSystemStartup().
FORCEINLINE VOID Ki386PerfEnd | ( | VOID | ) |
Referenced by Ke386CallBios().
FORCEINLINE VOID KiCheckForApcDelivery | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 699 of file ke.h.
Referenced by KiCommonExit().
Referenced by KiSystemServiceHandler().
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException0Args | ( | IN NTSTATUS | Code, |
IN ULONG_PTR | Address, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 645 of file ke.h.
Referenced by KiRaiseAssertionHandler(), KiTrap00Handler(), KiTrap01Handler(), KiTrap04Handler(), KiTrap05Handler(), KiTrap06Handler(), and KiTrap0DHandler().
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException1Args | ( | IN NTSTATUS | Code, |
IN ULONG_PTR | Address, | ||
IN ULONG | P1, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 659 of file ke.h.
Referenced by KiNpxHandler(), and KiTrap13Handler().
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException2Args | ( | IN NTSTATUS | Code, |
IN ULONG_PTR | Address, | ||
IN ULONG | P1, | ||
IN ULONG | P2, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 674 of file ke.h.
Referenced by KiNpxHandler(), KiTrap0DHandler(), and KiTrap0EHandler().
DECLSPEC_NORETURN VOID NTAPI KiDispatchExceptionFromTrapFrame | ( | IN NTSTATUS | Code, |
IN ULONG | Flags, | ||
IN ULONG_PTR | Address, | ||
IN ULONG | ParameterCount, | ||
IN ULONG_PTR | Parameter1, | ||
IN ULONG_PTR | Parameter2, | ||
IN ULONG_PTR | Parameter3, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 1100 of file exp.c.
Referenced by KiDebugHandler(), KiDispatchException0Args(), KiDispatchException1Args(), KiDispatchException2Args(), KiRaiseSecurityCheckFailureHandler(), and KiTrap0EHandler().
FORCEINLINE VOID KiEndInterrupt | ( | IN KIRQL | Irql, |
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 801 of file ke.h.
DECLSPEC_NORETURN VOID FASTCALL KiEoiHelper | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 126 of file traphdlr.c.
Referenced by _HalpApcInterruptHandler(), HalpApcInterruptHandler(), HalpClockInterruptHandler(), HalpDispatchInterrupt2ndEntry(), HalpDispatchInterruptHandler(), HalpTrap0DHandler(), KiDispatchExceptionFromTrapFrame(), KiEndInterrupt(), KiEnterV86Mode(), KiExitInterrupt(), KiExitV86Trap(), KiGetTickCountHandler(), KiNpxHandler(), KiTrap01Handler(), KiTrap07Handler(), KiTrap0EHandler(), and KiTrap10Handler().
ULONG_PTR FASTCALL KiExitV86Mode | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 468 of file v86vdm.c.
Referenced by KiLoadFastSyscallMachineSpecificRegisters().
VOID NTAPI KiFlushNPXState | ( | IN FLOATING_SAVE_AREA * | SaveArea | ) |
Referenced by KeContextToTrapFrame(), and KeTrapFrameToContext().
Definition at line 217 of file cpu.c.
Definition at line 127 of file cpu.c.
FORCEINLINE PFX_SAVE_AREA KiGetThreadNpxArea | ( | IN PKTHREAD | Thread | ) |
Definition at line 582 of file ke.h.
Referenced by KiCoprocessorError(), KiEnterV86Mode(), KiExitV86Mode(), KiFlushNPXState(), KiInitMachineDependent(), KiSwapContextEntry(), KiTrap07Handler(), KiTrap10Handler(), and KiTrap13Handler().
FORCEINLINE PULONG KiGetUserModeStackAddress | ( | void | ) |
Definition at line 1088 of file cpu.c.
Referenced by KiInitMachineDependent().
FORCEINLINE DECLSPEC_NORETURN VOID KiIret | ( | VOID | ) |
Definition at line 777 of file ke.h.
Definition at line 1205 of file cpu.c.
Referenced by KiInitMachineDependent().
Definition at line 1011 of file cpu.c.
Referenced by KiInitMachineDependent().
Definition at line 56 of file cpu.c.
FORCEINLINE VOID KiSetTebBase | ( | PKPCR | Pcr, |
PNT_TIB | TebAddress | ||
) |
Definition at line 318 of file ke.h.
Referenced by KiEnterV86Mode(), KiExitV86Mode(), and KiSwapContextExit().
FORCEINLINE DECLSPEC_NORETURN VOID KiSwitchToBootStack | ( | IN ULONG_PTR | InitialStack | ) |
Definition at line 737 of file ke.h.
Referenced by KiSystemStartup().
NTSTATUS NTAPI KiSystemCallTrampoline | ( | _In_ PVOID | Handler, |
_In_ PVOID | Arguments, | ||
_In_ ULONG | StackBytes | ||
) |
Referenced by KiSystemServiceHandler().
Referenced by Ki386InitializeTss().
Referenced by Ki386InitializeTss().
Referenced by Ki386EnableXMMIExceptions().
Definition at line 442 of file v86vdm.c.
Referenced by KiTrap0EHandler().
BOOLEAN NTAPI VdmDispatchBop | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 313 of file vdmexec.c.
Referenced by KiTrap06Handler(), and KiVdmOpcodeIRET().
BOOLEAN NTAPI VdmDispatchPageFault | ( | _In_ PKTRAP_FRAME | TrapFrame | ) |
Definition at line 367 of file vdmexec.c.
Referenced by KiTrap0EHandler().
ULONG KeI386CpuType |
Definition at line 28 of file cpu.c.
Referenced by KeInvalidateAllCaches().
ULONG KeI386EFlagsAndMaskV86 |
Definition at line 21 of file v86vdm.c.
Referenced by VdmSwapContext().
ULONG KeI386EFlagsOrMaskV86 |
Definition at line 22 of file v86vdm.c.
Referenced by VdmSwapContext().
ULONG KeI386FxsrPresent |
Definition at line 31 of file cpu.c.
Referenced by KiFlushNPXState().
ULONG KeI386NpxPresent |
Definition at line 31 of file cpu.c.
Referenced by KeSaveFloatingPointState().
BOOLEAN KeI386VirtualIntExtensions |
Definition at line 24 of file v86vdm.c.
Referenced by KeI386VdmInitialize(), KiVdmOpcodeCLI(), KiVdmOpcodeINTnn(), KiVdmOpcodeIRET(), KiVdmOpcodePOPF(), KiVdmOpcodePUSHF(), KiVdmOpcodeSTI(), VdmEndExecution(), and VdmpStartExecution().
PVOID Ki386IopmSaveArea |
Definition at line 23 of file v86vdm.c.
Referenced by Ke386CallBios(), and KiInitializeKernel().
UCHAR KiDebugRegisterContextOffsets[9] |
UCHAR KiDebugRegisterTrapOffsets[9] |
ULONG KiFastSystemCallDisable |
Definition at line 26 of file cpu.c.
Referenced by KiRestoreFastSyscallReturnState().
BOOLEAN KiI386PentiumLockErrataPresent |
Definition at line 40 of file cpu.c.
Referenced by KiGetFeatureBits(), KiInitMachineDependent(), and MiInitMachineDependent().
KIDTENTRY KiIdt[MAXIMUM_IDTVECTOR+1] |
Definition at line 50 of file except.c.
Referenced by KeInitExceptions().
KDESCRIPTOR KiIdtDescriptor |
Definition at line 51 of file except.c.
Referenced by KeInitExceptions(), and KiSystemStartup().
ULONG KiMXCsrMask |
Definition at line 28 of file cpu.c.
Referenced by KeContextToTrapFrame(), and KiInitMachineDependent().
CHAR KiSystemCallExit[] |
CHAR KiSystemCallExit2[] |
CHAR KiSystemCallExitBranch[] |