Forgot this...sorry..it was 3am

svn path=/trunk/; revision=14669
This commit is contained in:
Alex Ionescu 2005-04-18 14:13:03 +00:00
parent 5845a581f2
commit c030bd043b
4 changed files with 4 additions and 13 deletions

View file

@ -28,7 +28,7 @@ VOID FASTCALL KiReleaseSpinLock(PKSPIN_LOCK SpinLock);
VOID KeDrainApcQueue(VOID);
struct _KPROCESS* KeGetCurrentProcess(VOID);
struct _KPROCESS* STDCALL KeGetCurrentProcess(VOID);
/*
* FUNCTION: Acquires a spinlock so the caller can synchronize access to

View file

@ -86,6 +86,7 @@ typedef struct _PEB_FREE_BLOCK
/* RTL_USER_PROCESS_PARAMETERS.Flags */
#define PPF_NORMALIZED (1)
#define TEB_BASE (0x7FFDE000)
#define PEB_BASE (0x7FFDF000)
typedef struct _PEB_LDR_DATA

View file

@ -6,6 +6,7 @@
#define __INCLUDE_DDK_I386_TSS_H
#define KTSS_ESP0 (0x4)
#define KTSS_CR3 (0x1C)
#define KTSS_EFLAGS (0x24)
#define KTSS_IOMAPBASE (0x66)

View file

@ -31,17 +31,6 @@ typedef struct _LDT_ENTRY {
} HighWord;
} LDT_ENTRY, *PLDT_ENTRY, *LPLDT_ENTRY;
typedef enum _THREAD_STATE {
StateInitialized,
StateReady,
StateRunning,
StateStandby,
StateTerminated,
StateWait,
StateTransition,
StateUnknown
} THREAD_STATE;
typedef enum _DEBUG_CONTROL_CODE
{
DebugGetTraceInformation = 1,
@ -1325,7 +1314,7 @@ typedef struct _SYSTEM_THREADS {
KPRIORITY Priority;
KPRIORITY BasePriority;
ULONG ContextSwitchCount;
THREAD_STATE State;
ULONG State;
KWAIT_REASON WaitReason;
} SYSTEM_THREADS, *PSYSTEM_THREADS;