mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Forgot this...sorry..it was 3am
svn path=/trunk/; revision=14669
This commit is contained in:
parent
5845a581f2
commit
c030bd043b
4 changed files with 4 additions and 13 deletions
|
@ -28,7 +28,7 @@ VOID FASTCALL KiReleaseSpinLock(PKSPIN_LOCK SpinLock);
|
||||||
|
|
||||||
VOID KeDrainApcQueue(VOID);
|
VOID KeDrainApcQueue(VOID);
|
||||||
|
|
||||||
struct _KPROCESS* KeGetCurrentProcess(VOID);
|
struct _KPROCESS* STDCALL KeGetCurrentProcess(VOID);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FUNCTION: Acquires a spinlock so the caller can synchronize access to
|
* FUNCTION: Acquires a spinlock so the caller can synchronize access to
|
||||||
|
|
|
@ -86,6 +86,7 @@ typedef struct _PEB_FREE_BLOCK
|
||||||
/* RTL_USER_PROCESS_PARAMETERS.Flags */
|
/* RTL_USER_PROCESS_PARAMETERS.Flags */
|
||||||
#define PPF_NORMALIZED (1)
|
#define PPF_NORMALIZED (1)
|
||||||
|
|
||||||
|
#define TEB_BASE (0x7FFDE000)
|
||||||
#define PEB_BASE (0x7FFDF000)
|
#define PEB_BASE (0x7FFDF000)
|
||||||
|
|
||||||
typedef struct _PEB_LDR_DATA
|
typedef struct _PEB_LDR_DATA
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#define __INCLUDE_DDK_I386_TSS_H
|
#define __INCLUDE_DDK_I386_TSS_H
|
||||||
|
|
||||||
#define KTSS_ESP0 (0x4)
|
#define KTSS_ESP0 (0x4)
|
||||||
|
#define KTSS_CR3 (0x1C)
|
||||||
#define KTSS_EFLAGS (0x24)
|
#define KTSS_EFLAGS (0x24)
|
||||||
#define KTSS_IOMAPBASE (0x66)
|
#define KTSS_IOMAPBASE (0x66)
|
||||||
|
|
||||||
|
|
|
@ -31,17 +31,6 @@ typedef struct _LDT_ENTRY {
|
||||||
} HighWord;
|
} HighWord;
|
||||||
} LDT_ENTRY, *PLDT_ENTRY, *LPLDT_ENTRY;
|
} 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
|
typedef enum _DEBUG_CONTROL_CODE
|
||||||
{
|
{
|
||||||
DebugGetTraceInformation = 1,
|
DebugGetTraceInformation = 1,
|
||||||
|
@ -1325,7 +1314,7 @@ typedef struct _SYSTEM_THREADS {
|
||||||
KPRIORITY Priority;
|
KPRIORITY Priority;
|
||||||
KPRIORITY BasePriority;
|
KPRIORITY BasePriority;
|
||||||
ULONG ContextSwitchCount;
|
ULONG ContextSwitchCount;
|
||||||
THREAD_STATE State;
|
ULONG State;
|
||||||
KWAIT_REASON WaitReason;
|
KWAIT_REASON WaitReason;
|
||||||
} SYSTEM_THREADS, *PSYSTEM_THREADS;
|
} SYSTEM_THREADS, *PSYSTEM_THREADS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue