Missing files...

svn path=/trunk/; revision=17840
This commit is contained in:
Alex Ionescu 2005-09-13 19:41:07 +00:00
parent 38b63156fa
commit 736e7b9af0
2 changed files with 20 additions and 25 deletions

View file

@ -48,12 +48,14 @@
/* /*
* Defines for accessing KPCR and KTHREAD structure members * Defines for accessing KPCR and KTHREAD structure members
*/ */
#define KTHREAD_DEBUG_ACTIVE 0x03
#define KTHREAD_INITIAL_STACK 0x18 #define KTHREAD_INITIAL_STACK 0x18
#define KTHREAD_STACK_LIMIT 0x1C #define KTHREAD_STACK_LIMIT 0x1C
#define KTHREAD_TEB 0x20 #define KTHREAD_TEB 0x20
#define KTHREAD_KERNEL_STACK 0x28 #define KTHREAD_KERNEL_STACK 0x28
#define KTHREAD_NPX_STATE 0x31 #define KTHREAD_NPX_STATE 0x31
#define KTHREAD_STATE 0x2D #define KTHREAD_STATE 0x2D
#define KTHREAD_ALERTED 0x2E
#define KTHREAD_APCSTATE_PROCESS 0x34 + 0x10 #define KTHREAD_APCSTATE_PROCESS 0x34 + 0x10
#define KTHREAD_PENDING_USER_APC 0x34 + 0x16 #define KTHREAD_PENDING_USER_APC 0x34 + 0x16
#define KTHREAD_PENDING_KERNEL_APC 0x34 + 0x15 #define KTHREAD_PENDING_KERNEL_APC 0x34 + 0x15
@ -72,6 +74,7 @@
#define KPCR_EXCEPTION_LIST 0x0 #define KPCR_EXCEPTION_LIST 0x0
#define KPCR_INITIAL_STACK 0x4 #define KPCR_INITIAL_STACK 0x4
#define KPCR_STACK_LIMIT 0x8 #define KPCR_STACK_LIMIT 0x8
#define KPCR_TEB 0x18
#define KPCR_SELF 0x1C #define KPCR_SELF 0x1C
#define KPCR_GDT 0x3C #define KPCR_GDT 0x3C
#define KPCR_TSS 0x40 #define KPCR_TSS 0x40
@ -91,7 +94,7 @@
#define KTRAP_FRAME_DEBUGEIP 0x4 #define KTRAP_FRAME_DEBUGEIP 0x4
#define KTRAP_FRAME_DEBUGARGMARK 0x8 #define KTRAP_FRAME_DEBUGARGMARK 0x8
#define KTRAP_FRAME_DEBUGPOINTER 0xC #define KTRAP_FRAME_DEBUGPOINTER 0xC
#define KTRAP_FRAME_TEMPSS 0x10 #define KTRAP_FRAME_TEMPCS 0x10
#define KTRAP_FRAME_TEMPESP 0x14 #define KTRAP_FRAME_TEMPESP 0x14
#define KTRAP_FRAME_DR0 0x18 #define KTRAP_FRAME_DR0 0x18
#define KTRAP_FRAME_DR1 0x1C #define KTRAP_FRAME_DR1 0x1C

View file

@ -67,33 +67,30 @@ typedef struct _FX_SAVE_AREA
ULONG Cr0NpxState; ULONG Cr0NpxState;
} FX_SAVE_AREA, *PFX_SAVE_AREA; } FX_SAVE_AREA, *PFX_SAVE_AREA;
/* FIXME: The names need to be fixed! */
typedef struct _KTRAP_FRAME typedef struct _KTRAP_FRAME
{ {
PVOID DebugEbp; ULONG DebugEbp;
PVOID DebugEip; ULONG DebugEip;
PVOID DebugArgMark; ULONG DebugArgMark;
PVOID DebugPointer; ULONG DebugPointer;
PVOID TempCs; ULONG TempCs;
PVOID TempEip; ULONG TempEsp;
ULONG Dr0; ULONG Dr0;
ULONG Dr1; ULONG Dr1;
ULONG Dr2; ULONG Dr2;
ULONG Dr3; ULONG Dr3;
ULONG Dr6; ULONG Dr6;
ULONG Dr7; ULONG Dr7;
USHORT Gs; ULONG Gs;
USHORT Reserved1; ULONG Es;
USHORT Es; ULONG Ds;
USHORT Reserved2;
USHORT Ds;
USHORT Reserved3;
ULONG Edx; ULONG Edx;
ULONG Ecx; ULONG Ecx;
ULONG Eax; ULONG Eax;
ULONG PreviousMode; ULONG PreviousMode;
PVOID ExceptionList; PVOID ExceptionList;
USHORT Fs; ULONG Fs;
USHORT Reserved4;
ULONG Edi; ULONG Edi;
ULONG Esi; ULONG Esi;
ULONG Ebx; ULONG Ebx;
@ -103,16 +100,11 @@ typedef struct _KTRAP_FRAME
ULONG Cs; ULONG Cs;
ULONG Eflags; ULONG Eflags;
ULONG Esp; ULONG Esp;
USHORT Ss; ULONG Ss;
USHORT Reserved5; ULONG V86_Es;
USHORT V86_Es; ULONG V86_Ds;
USHORT Reserved6; ULONG V86_Fs;
USHORT V86_Ds; ULONG V86_Gs;
USHORT Reserved7;
USHORT V86_Fs;
USHORT Reserved8;
USHORT V86_Gs;
USHORT Reserved9;
} KTRAP_FRAME, *PKTRAP_FRAME; } KTRAP_FRAME, *PKTRAP_FRAME;
typedef struct _LDT_ENTRY typedef struct _LDT_ENTRY