ReactOS 0.4.16-dev-401-g45b008d
_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
 
UCHAR ContextFromKFramesUnwound
 
UCHAR DebugRegistersValid
 
union {
   struct {
      CHAR   PreviousMode
 
      UCHAR   PreviousIrql
 
   } 
 
}; 
 
union {
   struct {
      ULONG64   FaultAddress
 
      ULONG64   TrapFrame
 
   } 
 
}; 
 
ULONG VfpState
 
ULONG64 Bvr [8]
 
ULONG64 Wvr [2]
 
ULONG Spsr
 
ULONG Esr
 
ULONG64 Sp
 
union {
   ULONG64   X [19]
 
   struct {
      ULONG64   X0
 
      ULONG64   X1
 
      ULONG64   X2
 
      ULONG64   X3
 
      ULONG64   X4
 
      ULONG64   X5
 
      ULONG64   X6
 
      ULONG64   X7
 
      ULONG64   X8
 
      ULONG64   X9
 
      ULONG64   X10
 
      ULONG64   X11
 
      ULONG64   X12
 
      ULONG64   X13
 
      ULONG64   X14
 
      ULONG64   X15
 
      ULONG64   X16
 
      ULONG64   X17
 
      ULONG64   X18
 
   } 
 
}; 
 
ULONG64 Lr
 
ULONG64 Fp
 
ULONG64 Pc
 
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 FARExceptionList
 
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
 

Detailed Description

Definition at line 400 of file ketypes.h.

Member Data Documentation

◆ 

union { ... } _KTRAP_FRAME::@2311

◆ 

union { ... } _KTRAP_FRAME::@2313

◆ 

union { ... } _KTRAP_FRAME::@2315

◆ 

union { ... } _KTRAP_FRAME::@2317

◆ 

union { ... } _KTRAP_FRAME::@2344

◆ 

union { ... } _KTRAP_FRAME::@2346

◆ 

union { ... } _KTRAP_FRAME::@2382

◆ 

union { ... } _KTRAP_FRAME::@2384

◆ 

union { ... } _KTRAP_FRAME::@2386

◆ Arg3

ULONG _KTRAP_FRAME::Arg3

Definition at line 346 of file ketypes.h.

◆ Bcr

ULONG _KTRAP_FRAME::Bcr

Definition at line 364 of file ketypes.h.

◆ Bvr [1/2]

ULONG _KTRAP_FRAME::Bvr[8]

Definition at line 363 of file ketypes.h.

◆ Bvr [2/2]

ULONG64 _KTRAP_FRAME::Bvr[8]

Definition at line 90 of file ketypes.h.

◆ CodePatchCycle

LONG _KTRAP_FRAME::CodePatchCycle

Definition at line 483 of file ketypes.h.

◆ ContextFromKFramesUnwound [1/2]

BOOLEAN _KTRAP_FRAME::ContextFromKFramesUnwound

Definition at line 355 of file ketypes.h.

◆ ContextFromKFramesUnwound [2/2]

UCHAR _KTRAP_FRAME::ContextFromKFramesUnwound

Definition at line 68 of file ketypes.h.

◆ ContextRecord

UINT64 _KTRAP_FRAME::ContextRecord

Definition at line 433 of file ketypes.h.

◆ Cpsr

ULONG _KTRAP_FRAME::Cpsr

Definition at line 376 of file ketypes.h.

◆ DbgArgMark

ULONG _KTRAP_FRAME::DbgArgMark

Definition at line 297 of file ketypes.h.

Referenced by KiInitializeContextThread().

◆ DbgArgPointer

ULONG _KTRAP_FRAME::DbgArgPointer

Definition at line 298 of file ketypes.h.

◆ DbgEbp

ULONG _KTRAP_FRAME::DbgEbp

Definition at line 295 of file ketypes.h.

Referenced by KiTrap02Handler().

◆ DbgEip

ULONG _KTRAP_FRAME::DbgEip

Definition at line 296 of file ketypes.h.

Referenced by KiTrap02Handler().

◆ DebugControl

UINT64 _KTRAP_FRAME::DebugControl

Definition at line 446 of file ketypes.h.

◆ DebugRegistersValid [1/2]

BOOLEAN _KTRAP_FRAME::DebugRegistersValid

Definition at line 356 of file ketypes.h.

◆ DebugRegistersValid [2/2]

UCHAR _KTRAP_FRAME::DebugRegistersValid

Definition at line 69 of file ketypes.h.

◆ Dr0 [1/2]

UINT64 _KTRAP_FRAME::Dr0

◆ Dr0 [2/2]

ULONG _KTRAP_FRAME::Dr0

Definition at line 301 of file ketypes.h.

◆ Dr1 [1/2]

UINT64 _KTRAP_FRAME::Dr1

◆ Dr1 [2/2]

ULONG _KTRAP_FRAME::Dr1

Definition at line 302 of file ketypes.h.

◆ Dr2 [1/2]

UINT64 _KTRAP_FRAME::Dr2

◆ Dr2 [2/2]

ULONG _KTRAP_FRAME::Dr2

Definition at line 303 of file ketypes.h.

◆ Dr3 [1/2]

UINT64 _KTRAP_FRAME::Dr3

◆ Dr3 [2/2]

ULONG _KTRAP_FRAME::Dr3

Definition at line 304 of file ketypes.h.

◆ Dr6 [1/2]

UINT64 _KTRAP_FRAME::Dr6

◆ Dr6 [2/2]

ULONG _KTRAP_FRAME::Dr6

Definition at line 305 of file ketypes.h.

◆ Dr7 [1/2]

◆ Dr7 [2/2]

ULONG _KTRAP_FRAME::Dr7

Definition at line 306 of file ketypes.h.

◆ Eax

◆ Ebp

◆ Ebx

◆ Ecx

◆ Edi

◆ Edx

◆ EFlags

◆ Eip

◆ ErrCode

ULONG _KTRAP_FRAME::ErrCode

Definition at line 320 of file ketypes.h.

Referenced by i386PrintExceptionText(), and KiEnterV86Mode().

◆ ErrorCode

UINT64 _KTRAP_FRAME::ErrorCode

Definition at line 469 of file ketypes.h.

Referenced by i386PrintExceptionText().

◆ Esi

◆ Esr

ULONG _KTRAP_FRAME::Esr

Definition at line 94 of file ketypes.h.

◆ ExceptionActive [1/2]

UCHAR _KTRAP_FRAME::ExceptionActive

Definition at line 410 of file ketypes.h.

◆ ExceptionActive [2/2]

BOOLEAN _KTRAP_FRAME::ExceptionActive

Definition at line 354 of file ketypes.h.

◆ ExceptionFrame

UINT64 _KTRAP_FRAME::ExceptionFrame

Definition at line 470 of file ketypes.h.

Referenced by KiInitializeContextThread(), and KiSystemCallHandler().

◆ ExceptionList

◆ FaultAddress [1/3]

UINT64 _KTRAP_FRAME::FaultAddress

Definition at line 432 of file ketypes.h.

◆ FaultAddress [2/3]

ULONG _KTRAP_FRAME::FaultAddress

Definition at line 350 of file ketypes.h.

◆ FaultAddress [3/3]

ULONG64 _KTRAP_FRAME::FaultAddress

Definition at line 83 of file ketypes.h.

◆ FaultIndicator

UCHAR _KTRAP_FRAME::FaultIndicator

Definition at line 409 of file ketypes.h.

◆ FaultStatus

ULONG _KTRAP_FRAME::FaultStatus

Definition at line 347 of file ketypes.h.

◆ Fill0

UCHAR _KTRAP_FRAME::Fill0

Definition at line 475 of file ketypes.h.

◆ Fill1

USHORT _KTRAP_FRAME::Fill1[2]

Definition at line 477 of file ketypes.h.

◆ Fill2

ULONG _KTRAP_FRAME::Fill2

Definition at line 479 of file ketypes.h.

◆ Fill3

USHORT _KTRAP_FRAME::Fill3

Definition at line 482 of file ketypes.h.

◆ Fp

ULONG64 _KTRAP_FRAME::Fp

Definition at line 123 of file ketypes.h.

◆ GsBase

UINT64 _KTRAP_FRAME::GsBase

Definition at line 421 of file ketypes.h.

◆ GsSwap

UINT64 _KTRAP_FRAME::GsSwap

Definition at line 422 of file ketypes.h.

◆ HardwareEsp

◆ HardwareSegSs

◆ LastBranchControl

UINT64 _KTRAP_FRAME::LastBranchControl

Definition at line 454 of file ketypes.h.

◆ LastBranchFromRip

UINT64 _KTRAP_FRAME::LastBranchFromRip

Definition at line 448 of file ketypes.h.

◆ LastBranchMSR

ULONG _KTRAP_FRAME::LastBranchMSR

Definition at line 455 of file ketypes.h.

◆ LastBranchToRip

UINT64 _KTRAP_FRAME::LastBranchToRip

Definition at line 447 of file ketypes.h.

◆ LastExceptionFromRip

UINT64 _KTRAP_FRAME::LastExceptionFromRip

Definition at line 450 of file ketypes.h.

◆ LastExceptionToRip

UINT64 _KTRAP_FRAME::LastExceptionToRip

Definition at line 449 of file ketypes.h.

◆ Logging

UCHAR _KTRAP_FRAME::Logging

Definition at line 476 of file ketypes.h.

◆ Lr [1/2]

ULONG _KTRAP_FRAME::Lr

Definition at line 373 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ Lr [2/2]

ULONG64 _KTRAP_FRAME::Lr

Definition at line 122 of file ketypes.h.

◆ MxCsr

ULONG _KTRAP_FRAME::MxCsr

Definition at line 411 of file ketypes.h.

◆ P1Home

UINT64 _KTRAP_FRAME::P1Home

Definition at line 402 of file ketypes.h.

◆ P2Home

UINT64 _KTRAP_FRAME::P2Home

Definition at line 403 of file ketypes.h.

◆ P3Home

UINT64 _KTRAP_FRAME::P3Home

Definition at line 404 of file ketypes.h.

◆ P4Home

UINT64 _KTRAP_FRAME::P4Home

Definition at line 405 of file ketypes.h.

◆ P5

UINT64 _KTRAP_FRAME::P5

Definition at line 406 of file ketypes.h.

◆ Pc [1/2]

ULONG _KTRAP_FRAME::Pc

Definition at line 375 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ Pc [2/2]

ULONG64 _KTRAP_FRAME::Pc

Definition at line 124 of file ketypes.h.

◆ PreviousIrql [1/2]

UCHAR _KTRAP_FRAME::PreviousIrql

Definition at line 408 of file ketypes.h.

◆ PreviousIrql [2/2]

KIRQL _KTRAP_FRAME::PreviousIrql

Definition at line 360 of file ketypes.h.

◆ PreviousMode

CHAR _KTRAP_FRAME::PreviousMode

Definition at line 407 of file ketypes.h.

Referenced by KiInitializeContextThread(), and KiSystemCallHandler().

◆ PreviousPreviousMode

ULONG _KTRAP_FRAME::PreviousPreviousMode

◆ R0

ULONG _KTRAP_FRAME::R0

Definition at line 367 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ R1

ULONG _KTRAP_FRAME::R1

Definition at line 368 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ R10

UINT64 _KTRAP_FRAME::R10

Definition at line 417 of file ketypes.h.

Referenced by i386PrintExceptionText(), and thread_to_reg().

◆ R11 [1/2]

UINT64 _KTRAP_FRAME::R11

Definition at line 418 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ R11 [2/2]

ULONG _KTRAP_FRAME::R11

Definition at line 374 of file ketypes.h.

◆ R12

ULONG _KTRAP_FRAME::R12

Definition at line 371 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ R2

ULONG _KTRAP_FRAME::R2

Definition at line 369 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ R3

ULONG _KTRAP_FRAME::R3

Definition at line 370 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ R8

UINT64 _KTRAP_FRAME::R8

Definition at line 415 of file ketypes.h.

Referenced by i386PrintExceptionText(), and thread_to_reg().

◆ R9

UINT64 _KTRAP_FRAME::R9

Definition at line 416 of file ketypes.h.

Referenced by i386PrintExceptionText(), and thread_to_reg().

◆ Rax

UINT64 _KTRAP_FRAME::Rax

◆ Rbp

UINT64 _KTRAP_FRAME::Rbp

Definition at line 466 of file ketypes.h.

Referenced by i386PrintExceptionText(), KeGetTrapFrameFrameRegister(), and thread_to_reg().

◆ Rbx

UINT64 _KTRAP_FRAME::Rbx

Definition at line 463 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ Rcx

UINT64 _KTRAP_FRAME::Rcx

Definition at line 413 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ Rdi

UINT64 _KTRAP_FRAME::Rdi

Definition at line 464 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ Rdx

UINT64 _KTRAP_FRAME::Rdx

Definition at line 414 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ Reserved

ULONG _KTRAP_FRAME::Reserved

Definition at line 353 of file ketypes.h.

◆ Rip

UINT64 _KTRAP_FRAME::Rip

◆ Rsi

UINT64 _KTRAP_FRAME::Rsi

Definition at line 465 of file ketypes.h.

Referenced by i386PrintExceptionText(), MmArmAccessFault(), and thread_to_reg().

◆ Rsp

UINT64 _KTRAP_FRAME::Rsp

◆ SegCs [1/2]

◆ SegCs [2/2]

ULONG _KTRAP_FRAME::SegCs

Definition at line 322 of file ketypes.h.

◆ SegDs [1/2]

◆ SegDs [2/2]

ULONG _KTRAP_FRAME::SegDs

Definition at line 309 of file ketypes.h.

◆ SegEs [1/2]

◆ SegEs [2/2]

ULONG _KTRAP_FRAME::SegEs

Definition at line 308 of file ketypes.h.

◆ SegFs [1/2]

◆ SegFs [2/2]

ULONG _KTRAP_FRAME::SegFs

Definition at line 315 of file ketypes.h.

◆ SegGs [1/2]

USHORT _KTRAP_FRAME::SegGs

◆ SegGs [2/2]

ULONG _KTRAP_FRAME::SegGs

Definition at line 307 of file ketypes.h.

◆ SegSs

USHORT _KTRAP_FRAME::SegSs

◆ Sp [1/2]

ULONG _KTRAP_FRAME::Sp

Definition at line 372 of file ketypes.h.

Referenced by MmArmAccessFault().

◆ Sp [2/2]

ULONG64 _KTRAP_FRAME::Sp

Definition at line 95 of file ketypes.h.

◆ Spsr

ULONG _KTRAP_FRAME::Spsr

Definition at line 93 of file ketypes.h.

◆ TempEsp

ULONG _KTRAP_FRAME::TempEsp

Definition at line 300 of file ketypes.h.

Referenced by KeGetTrapFrameStackRegister(), and thread_to_reg().

◆ TempSegCs

ULONG _KTRAP_FRAME::TempSegCs

Definition at line 299 of file ketypes.h.

◆ TimeStampCKCL

UINT64 _KTRAP_FRAME::TimeStampCKCL

Definition at line 434 of file ketypes.h.

◆ TimeStampKlog

UINT64 _KTRAP_FRAME::TimeStampKlog

Definition at line 471 of file ketypes.h.

◆ TrapFrame [1/3]

UINT64 _KTRAP_FRAME::TrapFrame

◆ TrapFrame [2/3]

ULONG _KTRAP_FRAME::TrapFrame

Definition at line 351 of file ketypes.h.

◆ TrapFrame [3/3]

ULONG64 _KTRAP_FRAME::TrapFrame

Definition at line 84 of file ketypes.h.

◆ V86Ds

ULONG _KTRAP_FRAME::V86Ds

Definition at line 327 of file ketypes.h.

Referenced by HalpBiosCall().

◆ V86Es

ULONG _KTRAP_FRAME::V86Es

Definition at line 326 of file ketypes.h.

Referenced by HalpBiosCall(), KiEnterV86Mode(), KiUserModeCallout(), and NtCallbackReturn().

◆ V86Fs

ULONG _KTRAP_FRAME::V86Fs

Definition at line 328 of file ketypes.h.

Referenced by HalpBiosCall().

◆ V86Gs

ULONG _KTRAP_FRAME::V86Gs

Definition at line 329 of file ketypes.h.

Referenced by HalpBiosCall().

◆ VfpState [1/2]

PKARM_VFP_STATE _KTRAP_FRAME::VfpState

Definition at line 362 of file ketypes.h.

◆ VfpState [2/2]

ULONG _KTRAP_FRAME::VfpState

Definition at line 88 of file ketypes.h.

◆ Wcr

ULONG _KTRAP_FRAME::Wcr

Definition at line 366 of file ketypes.h.

◆ Wvr [1/2]

ULONG _KTRAP_FRAME::Wvr[1]

Definition at line 365 of file ketypes.h.

◆ Wvr [2/2]

ULONG64 _KTRAP_FRAME::Wvr[2]

Definition at line 92 of file ketypes.h.

◆ X

ULONG64 _KTRAP_FRAME::X[19]

Definition at line 98 of file ketypes.h.

◆ X0

ULONG64 _KTRAP_FRAME::X0

Definition at line 101 of file ketypes.h.

◆ X1

ULONG64 _KTRAP_FRAME::X1

Definition at line 102 of file ketypes.h.

◆ X10

ULONG64 _KTRAP_FRAME::X10

Definition at line 111 of file ketypes.h.

◆ X11

ULONG64 _KTRAP_FRAME::X11

Definition at line 112 of file ketypes.h.

◆ X12

ULONG64 _KTRAP_FRAME::X12

Definition at line 113 of file ketypes.h.

◆ X13

ULONG64 _KTRAP_FRAME::X13

Definition at line 114 of file ketypes.h.

◆ X14

ULONG64 _KTRAP_FRAME::X14

Definition at line 115 of file ketypes.h.

◆ X15

ULONG64 _KTRAP_FRAME::X15

Definition at line 116 of file ketypes.h.

◆ X16

ULONG64 _KTRAP_FRAME::X16

Definition at line 117 of file ketypes.h.

◆ X17

ULONG64 _KTRAP_FRAME::X17

Definition at line 118 of file ketypes.h.

◆ X18

ULONG64 _KTRAP_FRAME::X18

Definition at line 119 of file ketypes.h.

◆ X2

ULONG64 _KTRAP_FRAME::X2

Definition at line 103 of file ketypes.h.

◆ X3

ULONG64 _KTRAP_FRAME::X3

Definition at line 104 of file ketypes.h.

◆ X4

ULONG64 _KTRAP_FRAME::X4

Definition at line 105 of file ketypes.h.

◆ X5

ULONG64 _KTRAP_FRAME::X5

Definition at line 106 of file ketypes.h.

◆ X6

ULONG64 _KTRAP_FRAME::X6

Definition at line 107 of file ketypes.h.

◆ X7

ULONG64 _KTRAP_FRAME::X7

Definition at line 108 of file ketypes.h.

◆ X8

ULONG64 _KTRAP_FRAME::X8

Definition at line 109 of file ketypes.h.

◆ X9

ULONG64 _KTRAP_FRAME::X9

Definition at line 110 of file ketypes.h.

◆ Xmm0

M128A _KTRAP_FRAME::Xmm0

Definition at line 424 of file ketypes.h.

◆ Xmm1

M128A _KTRAP_FRAME::Xmm1

Definition at line 425 of file ketypes.h.

◆ Xmm2

M128A _KTRAP_FRAME::Xmm2

Definition at line 426 of file ketypes.h.

◆ Xmm3

M128A _KTRAP_FRAME::Xmm3

Definition at line 427 of file ketypes.h.

◆ Xmm4

M128A _KTRAP_FRAME::Xmm4

Definition at line 428 of file ketypes.h.

◆ Xmm5

M128A _KTRAP_FRAME::Xmm5

Definition at line 429 of file ketypes.h.


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