ReactOS  r76032
_KTRAP_FRAME Struct Reference

#include <ketypes.h>

Collaboration diagram for _KTRAP_FRAME:

Public Attributes

UINT64 P1Home
 
UINT64 P2Home
 
UINT64 P3Home
 
UINT64 P4Home
 
UINT64 P5
 
CHAR PreviousMode
 
UCHAR PreviousIrql
 
UCHAR FaultIndicator
 
UCHAR ExceptionActive
 
ULONG MxCsr
 
UINT64 Rax
 
UINT64 Rcx
 
UINT64 Rdx
 
UINT64 R8
 
UINT64 R9
 
UINT64 R10
 
UINT64 R11
 
union {
   UINT64   GsBase
 
   UINT64   GsSwap
 
}; 
 
M128A Xmm0
 
M128A Xmm1
 
M128A Xmm2
 
M128A Xmm3
 
M128A Xmm4
 
M128A Xmm5
 
union {
   UINT64   FaultAddress
 
   UINT64   ContextRecord
 
   UINT64   TimeStampCKCL
 
}; 
 
UINT64 Dr0
 
UINT64 Dr1
 
UINT64 Dr2
 
UINT64 Dr3
 
UINT64 Dr6
 
UINT64 Dr7
 
union {
   struct {
      UINT64   DebugControl
 
      UINT64   LastBranchToRip
 
      UINT64   LastBranchFromRip
 
      UINT64   LastExceptionToRip
 
      UINT64   LastExceptionFromRip
 
   } 
 
   struct {
      UINT64   LastBranchControl
 
      ULONG   LastBranchMSR
 
   } 
 
}; 
 
USHORT SegDs
 
USHORT SegEs
 
USHORT SegFs
 
USHORT SegGs
 
UINT64 TrapFrame
 
UINT64 Rbx
 
UINT64 Rdi
 
UINT64 Rsi
 
UINT64 Rbp
 
union {
   UINT64   ErrorCode
 
   UINT64   ExceptionFrame
 
   UINT64   TimeStampKlog
 
}; 
 
UINT64 Rip
 
USHORT SegCs
 
UCHAR Fill0
 
UCHAR Logging
 
USHORT Fill1 [2]
 
ULONG EFlags
 
ULONG Fill2
 
UINT64 Rsp
 
USHORT SegSs
 
USHORT Fill3
 
LONG CodePatchCycle
 
ULONG Arg3
 
ULONG FaultStatus
 
union {
   ULONG   FaultAddress
 
   ULONG   TrapFrame
 
}; 
 
ULONG Reserved
 
BOOLEAN ExceptionActive
 
BOOLEAN ContextFromKFramesUnwound
 
BOOLEAN DebugRegistersValid
 
union {
   CHAR   PreviousMode
 
   KIRQL   PreviousIrql
 
}; 
 
PKARM_VFP_STATE VfpState
 
ULONG Bvr [8]
 
ULONG Bcr [8]
 
ULONG Wvr [1]
 
ULONG Wcr [1]
 
ULONG R0
 
ULONG R1
 
ULONG R2
 
ULONG R3
 
ULONG R12
 
ULONG Sp
 
ULONG Lr
 
ULONG R11
 
ULONG Pc
 
ULONG Cpsr
 
ULONG DbgEbp
 
ULONG DbgEip
 
ULONG DbgArgMark
 
ULONG DbgArgPointer
 
ULONG TempSegCs
 
ULONG TempEsp
 
ULONG Dr0
 
ULONG Dr1
 
ULONG Dr2
 
ULONG Dr3
 
ULONG Dr6
 
ULONG Dr7
 
ULONG SegGs
 
ULONG SegEs
 
ULONG SegDs
 
ULONG Edx
 
ULONG Ecx
 
ULONG Eax
 
ULONG PreviousPreviousMode
 
struct
_EXCEPTION_REGISTRATION_RECORD
FAR
ExceptionList
 
ULONG SegFs
 
ULONG Edi
 
ULONG Esi
 
ULONG Ebx
 
ULONG Ebp
 
ULONG ErrCode
 
ULONG Eip
 
ULONG SegCs
 
ULONG HardwareEsp
 
ULONG HardwareSegSs
 
ULONG V86Es
 
ULONG V86Ds
 
ULONG V86Fs
 
ULONG V86Gs
 
PVOID TrapFrame
 
UCHAR OldIrql
 
UCHAR PreviousMode
 
UCHAR SavedApcStateIndex
 
UCHAR SavedKernelApcDisable
 
UCHAR ExceptionRecord [ROUND_UP(sizeof(EXCEPTION_RECORD), sizeof(ULONGLONG))]
 
ULONG FILL2
 
ULONG Gpr0
 
ULONG Gpr1
 
ULONG Gpr2
 
ULONG Gpr3
 
ULONG Gpr4
 
ULONG Gpr5
 
ULONG Gpr6
 
ULONG Gpr7
 
ULONG Gpr8
 
ULONG Gpr9
 
ULONG Gpr10
 
ULONG Gpr11
 
ULONG Gpr12
 
DOUBLE Fpr0
 
DOUBLE Fpr1
 
DOUBLE Fpr2
 
DOUBLE Fpr3
 
DOUBLE Fpr4
 
DOUBLE Fpr5
 
DOUBLE Fpr6
 
DOUBLE Fpr7
 
DOUBLE Fpr8
 
DOUBLE Fpr9
 
DOUBLE Fpr10
 
DOUBLE Fpr11
 
DOUBLE Fpr12
 
DOUBLE Fpr13
 
DOUBLE Fpscr
 
ULONG Cr
 
ULONG Xer
 
ULONG Msr
 
ULONG Iar
 
ULONG Ctr
 
ULONG Dr4
 
ULONG Dr5
 

Detailed Description

Definition at line 306 of file ketypes.h.

Member Data Documentation

union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
ULONG _KTRAP_FRAME::Arg3

Definition at line 320 of file ketypes.h.

ULONG _KTRAP_FRAME::Bcr[8]

Definition at line 338 of file ketypes.h.

ULONG _KTRAP_FRAME::Bvr[8]

Definition at line 337 of file ketypes.h.

LONG _KTRAP_FRAME::CodePatchCycle

Definition at line 389 of file ketypes.h.

BOOLEAN _KTRAP_FRAME::ContextFromKFramesUnwound

Definition at line 329 of file ketypes.h.

UINT64 _KTRAP_FRAME::ContextRecord

Definition at line 339 of file ketypes.h.

ULONG _KTRAP_FRAME::Cpsr

Definition at line 350 of file ketypes.h.

ULONG _KTRAP_FRAME::Cr

Definition at line 130 of file ketypes.h.

Referenced by MmpPpcTrapFrameToTrapFrame().

ULONG _KTRAP_FRAME::Ctr

Definition at line 135 of file ketypes.h.

Referenced by MmpPpcTrapFrameToTrapFrame().

ULONG _KTRAP_FRAME::DbgArgMark

Definition at line 241 of file ketypes.h.

Referenced by KiInitializeContextThread().

ULONG _KTRAP_FRAME::DbgArgPointer

Definition at line 242 of file ketypes.h.

ULONG _KTRAP_FRAME::DbgEbp

Definition at line 239 of file ketypes.h.

Referenced by KiTrap02().

ULONG _KTRAP_FRAME::DbgEip

Definition at line 240 of file ketypes.h.

Referenced by KiTrap02().

UINT64 _KTRAP_FRAME::DebugControl

Definition at line 352 of file ketypes.h.

BOOLEAN _KTRAP_FRAME::DebugRegistersValid

Definition at line 330 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr0

Definition at line 245 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr1

Definition at line 246 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr2

Definition at line 247 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr3

Definition at line 248 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr4

Definition at line 140 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr5

Definition at line 141 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr6

Definition at line 249 of file ketypes.h.

ULONG _KTRAP_FRAME::Dr7

Definition at line 250 of file ketypes.h.

ULONG _KTRAP_FRAME::ErrCode

Definition at line 264 of file ketypes.h.

Referenced by i386PrintExceptionText(), KiEnterV86Mode(), and KiSystemServiceHandler().

UINT64 _KTRAP_FRAME::ErrorCode

Definition at line 375 of file ketypes.h.

Referenced by i386PrintExceptionText().

UCHAR _KTRAP_FRAME::ExceptionActive

Definition at line 316 of file ketypes.h.

BOOLEAN _KTRAP_FRAME::ExceptionActive

Definition at line 328 of file ketypes.h.

UINT64 _KTRAP_FRAME::ExceptionFrame

Definition at line 376 of file ketypes.h.

Referenced by KiInitializeContextThread().

UCHAR _KTRAP_FRAME::ExceptionRecord[ROUND_UP(sizeof(EXCEPTION_RECORD), sizeof(ULONGLONG))]

Definition at line 100 of file ketypes.h.

Referenced by KiInitializeContextThread().

ULONG _KTRAP_FRAME::FaultAddress

Definition at line 324 of file ketypes.h.

UINT64 _KTRAP_FRAME::FaultAddress

Definition at line 338 of file ketypes.h.

UCHAR _KTRAP_FRAME::FaultIndicator

Definition at line 315 of file ketypes.h.

ULONG _KTRAP_FRAME::FaultStatus

Definition at line 321 of file ketypes.h.

UCHAR _KTRAP_FRAME::Fill0

Definition at line 381 of file ketypes.h.

USHORT _KTRAP_FRAME::Fill1[2]

Definition at line 383 of file ketypes.h.

ULONG _KTRAP_FRAME::FILL2

Definition at line 101 of file ketypes.h.

ULONG _KTRAP_FRAME::Fill2

Definition at line 385 of file ketypes.h.

USHORT _KTRAP_FRAME::Fill3

Definition at line 388 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr0

Definition at line 115 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr1

Definition at line 116 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr10

Definition at line 125 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr11

Definition at line 126 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr12

Definition at line 127 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr13

Definition at line 128 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr2

Definition at line 117 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr3

Definition at line 118 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr4

Definition at line 119 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr5

Definition at line 120 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr6

Definition at line 121 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr7

Definition at line 122 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr8

Definition at line 123 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpr9

Definition at line 124 of file ketypes.h.

DOUBLE _KTRAP_FRAME::Fpscr

Definition at line 129 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr0

Definition at line 102 of file ketypes.h.

Referenced by KiInitializeContextThread(), and MmpPpcTrapFrameToTrapFrame().

ULONG _KTRAP_FRAME::Gpr1

Definition at line 103 of file ketypes.h.

Referenced by GspGetEspFromTrapFrame(), KiInitializeContextThread(), and RtlWalkFrameChain().

ULONG _KTRAP_FRAME::Gpr10

Definition at line 112 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr11

Definition at line 113 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr12

Definition at line 114 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr2

Definition at line 104 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr3

Definition at line 105 of file ketypes.h.

Referenced by KiInitializeContextThread().

ULONG _KTRAP_FRAME::Gpr4

Definition at line 106 of file ketypes.h.

Referenced by KiInitializeContextThread().

ULONG _KTRAP_FRAME::Gpr5

Definition at line 107 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr6

Definition at line 108 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr7

Definition at line 109 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr8

Definition at line 110 of file ketypes.h.

ULONG _KTRAP_FRAME::Gpr9

Definition at line 111 of file ketypes.h.

UINT64 _KTRAP_FRAME::GsBase

Definition at line 327 of file ketypes.h.

UINT64 _KTRAP_FRAME::GsSwap

Definition at line 328 of file ketypes.h.

ULONG _KTRAP_FRAME::Iar

Definition at line 133 of file ketypes.h.

Referenced by KiInitializeContextThread(), and MmpPpcTrapFrameToTrapFrame().

UINT64 _KTRAP_FRAME::LastBranchControl

Definition at line 360 of file ketypes.h.

UINT64 _KTRAP_FRAME::LastBranchFromRip

Definition at line 354 of file ketypes.h.

ULONG _KTRAP_FRAME::LastBranchMSR

Definition at line 361 of file ketypes.h.

UINT64 _KTRAP_FRAME::LastBranchToRip

Definition at line 353 of file ketypes.h.

UINT64 _KTRAP_FRAME::LastExceptionFromRip

Definition at line 356 of file ketypes.h.

UINT64 _KTRAP_FRAME::LastExceptionToRip

Definition at line 355 of file ketypes.h.

UCHAR _KTRAP_FRAME::Logging

Definition at line 382 of file ketypes.h.

ULONG _KTRAP_FRAME::Lr

Definition at line 347 of file ketypes.h.

Referenced by MmArmAccessFault(), and MmpPpcTrapFrameToTrapFrame().

ULONG _KTRAP_FRAME::Msr

Definition at line 132 of file ketypes.h.

Referenced by KiInitializeContextThread(), and MmpPpcTrapFrameToTrapFrame().

ULONG _KTRAP_FRAME::MxCsr

Definition at line 317 of file ketypes.h.

UCHAR _KTRAP_FRAME::OldIrql

Definition at line 96 of file ketypes.h.

Referenced by KiDecrementerTrap(), and KiInitializeContextThread().

UINT64 _KTRAP_FRAME::P1Home

Definition at line 308 of file ketypes.h.

UINT64 _KTRAP_FRAME::P2Home

Definition at line 309 of file ketypes.h.

UINT64 _KTRAP_FRAME::P3Home

Definition at line 310 of file ketypes.h.

UINT64 _KTRAP_FRAME::P4Home

Definition at line 311 of file ketypes.h.

UINT64 _KTRAP_FRAME::P5

Definition at line 312 of file ketypes.h.

ULONG _KTRAP_FRAME::Pc

Definition at line 349 of file ketypes.h.

Referenced by MmArmAccessFault().

UCHAR _KTRAP_FRAME::PreviousIrql

Definition at line 314 of file ketypes.h.

KIRQL _KTRAP_FRAME::PreviousIrql

Definition at line 334 of file ketypes.h.

UCHAR _KTRAP_FRAME::PreviousMode

Definition at line 97 of file ketypes.h.

CHAR _KTRAP_FRAME::PreviousMode

Definition at line 313 of file ketypes.h.

Referenced by KiInitializeContextThread().

ULONG _KTRAP_FRAME::PreviousPreviousMode

Definition at line 257 of file ketypes.h.

Referenced by KdbpCmdThread(), KiInitializeContextThread(), KiTrap02(), and thread_to_reg().

ULONG _KTRAP_FRAME::R0

Definition at line 341 of file ketypes.h.

Referenced by MmArmAccessFault().

ULONG _KTRAP_FRAME::R1

Definition at line 342 of file ketypes.h.

Referenced by MmArmAccessFault().

UINT64 _KTRAP_FRAME::R10

Definition at line 323 of file ketypes.h.

Referenced by i386PrintExceptionText().

UINT64 _KTRAP_FRAME::R11

Definition at line 324 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

ULONG _KTRAP_FRAME::R11

Definition at line 348 of file ketypes.h.

ULONG _KTRAP_FRAME::R12

Definition at line 345 of file ketypes.h.

Referenced by MmArmAccessFault().

ULONG _KTRAP_FRAME::R2

Definition at line 343 of file ketypes.h.

Referenced by MmArmAccessFault().

ULONG _KTRAP_FRAME::R3

Definition at line 344 of file ketypes.h.

Referenced by MmArmAccessFault().

UINT64 _KTRAP_FRAME::R8

Definition at line 321 of file ketypes.h.

Referenced by i386PrintExceptionText().

UINT64 _KTRAP_FRAME::R9

Definition at line 322 of file ketypes.h.

Referenced by i386PrintExceptionText().

UINT64 _KTRAP_FRAME::Rax

Definition at line 318 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rbp

Definition at line 372 of file ketypes.h.

Referenced by i386PrintExceptionText().

UINT64 _KTRAP_FRAME::Rbx

Definition at line 369 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rcx

Definition at line 319 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rdi

Definition at line 370 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rdx

Definition at line 320 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

ULONG _KTRAP_FRAME::Reserved

Definition at line 327 of file ketypes.h.

UINT64 _KTRAP_FRAME::Rip

Definition at line 379 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rsi

Definition at line 371 of file ketypes.h.

Referenced by i386PrintExceptionText(), and MmArmAccessFault().

UINT64 _KTRAP_FRAME::Rsp

Definition at line 386 of file ketypes.h.

Referenced by i386PrintExceptionText(), and KiSystemCallHandler().

UCHAR _KTRAP_FRAME::SavedApcStateIndex

Definition at line 98 of file ketypes.h.

UCHAR _KTRAP_FRAME::SavedKernelApcDisable

Definition at line 99 of file ketypes.h.

ULONG _KTRAP_FRAME::SegCs

Definition at line 266 of file ketypes.h.

ULONG _KTRAP_FRAME::SegDs

Definition at line 253 of file ketypes.h.

ULONG _KTRAP_FRAME::SegEs

Definition at line 252 of file ketypes.h.

ULONG _KTRAP_FRAME::SegFs

Definition at line 259 of file ketypes.h.

ULONG _KTRAP_FRAME::SegGs

Definition at line 251 of file ketypes.h.

USHORT _KTRAP_FRAME::SegSs

Definition at line 387 of file ketypes.h.

Referenced by HalpOpcodeINTnn(), i386PrintExceptionText(), and KiInitializeContextThread().

ULONG _KTRAP_FRAME::Sp

Definition at line 346 of file ketypes.h.

Referenced by MmArmAccessFault().

ULONG _KTRAP_FRAME::TempEsp

Definition at line 244 of file ketypes.h.

Referenced by KdbpCmdThread(), and thread_to_reg().

ULONG _KTRAP_FRAME::TempSegCs

Definition at line 243 of file ketypes.h.

UINT64 _KTRAP_FRAME::TimeStampCKCL

Definition at line 340 of file ketypes.h.

UINT64 _KTRAP_FRAME::TimeStampKlog

Definition at line 377 of file ketypes.h.

PVOID _KTRAP_FRAME::TrapFrame

Definition at line 95 of file ketypes.h.

ULONG _KTRAP_FRAME::TrapFrame

Definition at line 325 of file ketypes.h.

UINT64 _KTRAP_FRAME::TrapFrame

Definition at line 368 of file ketypes.h.

Referenced by HalpOpcodeINTnn(), i386PrintFrames(), and KiInitializeContextThread().

ULONG _KTRAP_FRAME::V86Ds

Definition at line 271 of file ketypes.h.

Referenced by HalpBiosCall().

ULONG _KTRAP_FRAME::V86Es
ULONG _KTRAP_FRAME::V86Fs

Definition at line 272 of file ketypes.h.

Referenced by HalpBiosCall().

ULONG _KTRAP_FRAME::V86Gs

Definition at line 273 of file ketypes.h.

Referenced by HalpBiosCall().

PKARM_VFP_STATE _KTRAP_FRAME::VfpState

Definition at line 336 of file ketypes.h.

ULONG _KTRAP_FRAME::Wcr[1]

Definition at line 340 of file ketypes.h.

ULONG _KTRAP_FRAME::Wvr[1]

Definition at line 339 of file ketypes.h.

ULONG _KTRAP_FRAME::Xer

Definition at line 131 of file ketypes.h.

Referenced by MmpPpcTrapFrameToTrapFrame().

M128A _KTRAP_FRAME::Xmm0

Definition at line 330 of file ketypes.h.

M128A _KTRAP_FRAME::Xmm1

Definition at line 331 of file ketypes.h.

M128A _KTRAP_FRAME::Xmm2

Definition at line 332 of file ketypes.h.

M128A _KTRAP_FRAME::Xmm3

Definition at line 333 of file ketypes.h.

M128A _KTRAP_FRAME::Xmm4

Definition at line 334 of file ketypes.h.

M128A _KTRAP_FRAME::Xmm5

Definition at line 335 of file ketypes.h.


The documentation for this struct was generated from the following file: