#include <arch/ketypes.h>
//
-// ARC Component Data
-//
-typedef struct _CONFIGURATION_COMPONENT_DATA
-{
- struct _CONFIGURATION_COMPONENT_DATA *Parent;
- struct _CONFIGURATION_COMPONENT_DATA *Child;
- struct _CONFIGURATION_COMPONENT_DATA *Sibling;
- CONFIGURATION_COMPONENT Component;
-} CONFIGURATION_COMPONENT_DATA, *PCONFIGURATION_COMPONENT_DATA;
-
-//
-// Kernel Memory Node (FIXME: mmtypes?
+// Kernel Memory Node
//
typedef struct _KNODE
{
} KNODE, *PKNODE;
//
-// Kernel Profile Object (FIXME: Fix with new defs)
+// Kernel Profile Object
//
typedef struct _KPROFILE
{
CSHORT Type;
CSHORT Size;
- LIST_ENTRY ListEntry;
- PVOID RegionStart;
- PVOID RegionEnd;
+ LIST_ENTRY ProfileListEntry;
+ struct _KPROCESS *Process;
+ PVOID RangeBase;
+ PVOID RangeLimit;
ULONG BucketShift;
PVOID Buffer;
+ ULONG Segment;
+ KAFFINITY Affinity;
KPROFILE_SOURCE Source;
- ULONG Affinity;
- BOOLEAN Active;
- struct _KPROCESS *Process;
+ BOOLEAN Started;
} KPROFILE, *PKPROFILE;
//
-// Kernel Interrupt Object (FIXME: Verify)
+// Kernel Interrupt Object
//
typedef struct _KINTERRUPT
{
KEXECUTE_OPTIONS Flags; /* 06B */
ULONG StackCount; /* 06C */
LIST_ENTRY ProcessListEntry; /* 070 */
-} KPROCESS;
+} KPROCESS, *PKPROCESS;
//
// System Service Table Descriptor
//
// Exported Loader Parameter Block
//
+#ifdef _REACTOS_
extern LOADER_PARAMETER_BLOCK NTSYSAPI KeLoaderBlock;
+#else
+extern PLOADER_PARAMETER_BLOCK NTSYSAPI KeLoaderBlock;
+#endif
//
// Exported Hardware Data