#ifndef _ARCH_KETYPES_H
#define _ARCH_KETYPES_H
-//
-// FIXME: Find a solution to take these out of here!
-//
-typedef struct _KDPC_DATA
-{
- LIST_ENTRY DpcListHead;
- ULONG DpcLock;
- ULONG DpcQueueDepth;
- ULONG DpcCount;
-} KDPC_DATA, *PKDPC_DATA;
-
-typedef struct _PP_LOOKASIDE_LIST
-{
- struct _GENERAL_LOOKASIDE *P;
- struct _GENERAL_LOOKASIDE *L;
-} PP_LOOKASIDE_LIST, *PPP_LOOKASIDE_LIST;
-
//
// Include the right file for this architecture.
//
extern POBJECT_TYPE NTSYSAPI ExMutantObjectType;
extern POBJECT_TYPE NTSYSAPI ExTimerType;
+//
+// Exported NT Build Number
+//
+extern ULONG NTSYSAPI NtBuildNumber;
+
//
// Invalid Handle Value Constant
//
#define SEMAPHORE_QUERY_STATE 0x0001
#endif
-//
-// Port Object Access Masks (FIXME: lpctypes.h?)
-//
-#define PORT_ALL_ACCESS 0x1
-
//
// Event Pair Access Masks
//
|extypes.h - Class 42 (SYSTEM_POWER_INFORMATION causes conflict).\r
|extypes.h - Classes 13, 20, 30, 31, 49, 51, 52, 54+ are undefined.\r
|ntndk.h - Incorrect rounding macro names\r
-|\r
-[MINOR] - Related to location of functions, comments, etc.\r
-|arch/ketypes.h - _KDPC_DATA, PP_LOOKASIDE_LIST shouldn't be there.\r
-|pstypes.h - Check if _PAGEFAULT_HISTORY shouldn't go in mmtypes.h instead.\r
-|lpctypes.h - Consider moving _CLIENT_DIED_MSG to pstypes.h?\r
-|ketypes.h - Consider moving KNODE to mmtypes.h?\r
-|ketypes.h - Consider moving NtBuildNumber to extypes.h?\r
-|extypes.h - consider moving PORT_ALL_ACCESS to lpctypes.h\r
|_____________________________________________________________________________________\r
\r
\r
#include <haltypes.h>
#include <potypes.h>
#include <ifssupp.h>
-#include <arch/ketypes.h>
#endif
//
#else
+//
+// APC Environment Types
+//
+typedef enum _KAPC_ENVIRONMENT
+{
+ OriginalApcEnvironment,
+ AttachedApcEnvironment,
+ CurrentApcEnvironment
+} KAPC_ENVIRONMENT;
+
+//
+// PRCB DPC Data
+//
+typedef struct _KDPC_DATA
+{
+ LIST_ENTRY DpcListHead;
+ ULONG DpcLock;
+ ULONG DpcQueueDepth;
+ ULONG DpcCount;
+} KDPC_DATA, *PKDPC_DATA;
+
+//
+// Per-Processor Lookaside List
+//
+typedef struct _PP_LOOKASIDE_LIST
+{
+ struct _GENERAL_LOOKASIDE *P;
+ struct _GENERAL_LOOKASIDE *L;
+} PP_LOOKASIDE_LIST, *PPP_LOOKASIDE_LIST;
+
+//
+// Architectural Types
+//
+#include <arch/ketypes.h>
+
//
// ARC Component Data
//
CONFIGURATION_COMPONENT Component;
} CONFIGURATION_COMPONENT_DATA, *PCONFIGURATION_COMPONENT_DATA;
-//
-// APC Environment Types
-//
-typedef enum _KAPC_ENVIRONMENT
-{
- OriginalApcEnvironment,
- AttachedApcEnvironment,
- CurrentApcEnvironment
-} KAPC_ENVIRONMENT;
-
//
// Kernel Memory Node (FIXME: mmtypes?
//
extern ULONG NTSYSAPI KeDcacheFlushCount;
extern ULONG NTSYSAPI KeIcacheFlushCount;
-//
-// Exported NT Build Number (FIXME: move?)
-//
-extern ULONG NTSYSAPI NtBuildNumber;
-
//
// Exported System Service Descriptor Tables
//
//
#define PORT_MAXIMUM_MESSAGE_LENGTH 256
+//
+// Port Object Access Masks
+//
+#define PORT_ALL_ACCESS 0x1
+
//
// LPC Message Types
//