- Fix/take decisions on the minor NDK FIXMEs.
authorAlex Ionescu <aionescu@gmail.com>
Sat, 26 Nov 2005 22:51:59 +0000 (22:51 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 26 Nov 2005 22:51:59 +0000 (22:51 +0000)
svn path=/trunk/; revision=19662

reactos/include/ndk/arch/ketypes.h
reactos/include/ndk/extypes.h
reactos/include/ndk/fixmes.txt
reactos/include/ndk/ketypes.h
reactos/include/ndk/lpctypes.h

index 76e3b3d..d60a4d4 100644 (file)
@@ -19,23 +19,6 @@ Author:
 #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.
 //
index 4bfc945..07af4cc 100644 (file)
@@ -47,6 +47,11 @@ extern POBJECT_TYPE NTSYSAPI ExIoCompletionType;
 extern POBJECT_TYPE NTSYSAPI ExMutantObjectType;
 extern POBJECT_TYPE NTSYSAPI ExTimerType;
 
+//
+// Exported NT Build Number
+//
+extern ULONG NTSYSAPI NtBuildNumber;
+
 //
 // Invalid Handle Value Constant
 //
@@ -79,11 +84,6 @@ extern POBJECT_TYPE NTSYSAPI ExTimerType;
 #define SEMAPHORE_QUERY_STATE           0x0001
 #endif
 
-//
-// Port Object Access Masks (FIXME: lpctypes.h?)
-//
-#define PORT_ALL_ACCESS                 0x1
-
 //
 // Event Pair Access Masks
 //
index 0b85e89..c84eeb2 100644 (file)
@@ -23,14 +23,6 @@ ________________________________________________________________________________
 |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
index ccf7dfe..aad9d30 100644 (file)
@@ -28,7 +28,6 @@ Author:
 #include <haltypes.h>
 #include <potypes.h>
 #include <ifssupp.h>
-#include <arch/ketypes.h>
 #endif
 
 //
@@ -304,6 +303,41 @@ typedef struct _KUSER_SHARED_DATA
 
 #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
 //
@@ -315,16 +349,6 @@ typedef struct _CONFIGURATION_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?
 //
@@ -703,11 +727,6 @@ extern ULONG NTSYSAPI KeMinimumIncrement;
 extern ULONG NTSYSAPI KeDcacheFlushCount;
 extern ULONG NTSYSAPI KeIcacheFlushCount;
 
-//
-// Exported NT Build Number (FIXME: move?)
-//
-extern ULONG NTSYSAPI NtBuildNumber;
-
 //
 // Exported System Service Descriptor Tables
 //
index 182115e..5936172 100644 (file)
@@ -30,6 +30,11 @@ Author:
 //
 #define PORT_MAXIMUM_MESSAGE_LENGTH     256
 
+//
+// Port Object Access Masks
+//
+#define PORT_ALL_ACCESS                 0x1
+
 //
 // LPC Message Types
 //