Forgot this...sorry..it was 3am
Modified: trunk/reactos/include/ddk/kefuncs.h
Modified: trunk/reactos/include/napi/teb.h
Modified: trunk/reactos/include/ntos/tss.h
Modified: trunk/reactos/include/ntos/zwtypes.h
_____
Modified: trunk/reactos/include/ddk/kefuncs.h
--- trunk/reactos/include/ddk/kefuncs.h 2005-04-18 13:27:16 UTC (rev
14668)
+++ trunk/reactos/include/ddk/kefuncs.h 2005-04-18 14:13:03 UTC (rev
14669)
@@ -28,7 +28,7 @@
VOID KeDrainApcQueue(VOID);
-struct _KPROCESS* KeGetCurrentProcess(VOID);
+struct _KPROCESS* STDCALL KeGetCurrentProcess(VOID);
/*
* FUNCTION: Acquires a spinlock so the caller can synchronize access
to
_____
Modified: trunk/reactos/include/napi/teb.h
--- trunk/reactos/include/napi/teb.h 2005-04-18 13:27:16 UTC (rev
14668)
+++ trunk/reactos/include/napi/teb.h 2005-04-18 14:13:03 UTC (rev
14669)
@@ -86,6 +86,7 @@
/* RTL_USER_PROCESS_PARAMETERS.Flags */
#define PPF_NORMALIZED (1)
+#define TEB_BASE (0x7FFDE000)
#define PEB_BASE (0x7FFDF000)
typedef struct _PEB_LDR_DATA
_____
Modified: trunk/reactos/include/ntos/tss.h
--- trunk/reactos/include/ntos/tss.h 2005-04-18 13:27:16 UTC (rev
14668)
+++ trunk/reactos/include/ntos/tss.h 2005-04-18 14:13:03 UTC (rev
14669)
@@ -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)
_____
Modified: trunk/reactos/include/ntos/zwtypes.h
--- trunk/reactos/include/ntos/zwtypes.h 2005-04-18 13:27:16 UTC
(rev 14668)
+++ trunk/reactos/include/ntos/zwtypes.h 2005-04-18 14:13:03 UTC
(rev 14669)
@@ -31,17 +31,6 @@
} 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 @@
KPRIORITY Priority;
KPRIORITY BasePriority;
ULONG ContextSwitchCount;
- THREAD_STATE State;
+ ULONG State;
KWAIT_REASON WaitReason;
} SYSTEM_THREADS, *PSYSTEM_THREADS;