mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 09:30:55 +00:00
- One school day and two midterms later, I'm still the only one with enough time to fix a header. Can't wait to see who will be up for trying to fix booting...
svn path=/trunk/; revision=24550
This commit is contained in:
parent
9d10081480
commit
7c42b991f3
|
@ -1363,6 +1363,66 @@ typedef struct _PRIVATE_CACHE_MAP {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef enum _RTL_GENERIC_COMPARE_RESULTS
|
||||||
|
{
|
||||||
|
GenericLessThan,
|
||||||
|
GenericGreaterThan,
|
||||||
|
GenericEqual
|
||||||
|
} RTL_GENERIC_COMPARE_RESULTS;
|
||||||
|
|
||||||
|
typedef enum _TABLE_SEARCH_RESULT
|
||||||
|
{
|
||||||
|
TableEmptyTree,
|
||||||
|
TableFoundNode,
|
||||||
|
TableInsertAsLeft,
|
||||||
|
TableInsertAsRight
|
||||||
|
} TABLE_SEARCH_RESULT;
|
||||||
|
|
||||||
|
typedef NTSTATUS
|
||||||
|
(NTAPI *PRTL_AVL_MATCH_FUNCTION)(
|
||||||
|
struct _RTL_AVL_TABLE *Table,
|
||||||
|
PVOID UserData,
|
||||||
|
PVOID MatchData
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef RTL_GENERIC_COMPARE_RESULTS
|
||||||
|
(NTAPI *PRTL_AVL_COMPARE_ROUTINE) (
|
||||||
|
struct _RTL_AVL_TABLE *Table,
|
||||||
|
PVOID FirstStruct,
|
||||||
|
PVOID SecondStruct
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef RTL_GENERIC_COMPARE_RESULTS
|
||||||
|
(NTAPI *PRTL_GENERIC_COMPARE_ROUTINE) (
|
||||||
|
struct _RTL_GENERIC_TABLE *Table,
|
||||||
|
PVOID FirstStruct,
|
||||||
|
PVOID SecondStruct
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef PVOID
|
||||||
|
(NTAPI *PRTL_GENERIC_ALLOCATE_ROUTINE) (
|
||||||
|
struct _RTL_GENERIC_TABLE *Table,
|
||||||
|
CLONG ByteSize
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef VOID
|
||||||
|
(NTAPI *PRTL_GENERIC_FREE_ROUTINE) (
|
||||||
|
struct _RTL_GENERIC_TABLE *Table,
|
||||||
|
PVOID Buffer
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef PVOID
|
||||||
|
(NTAPI *PRTL_AVL_ALLOCATE_ROUTINE) (
|
||||||
|
struct _RTL_AVL_TABLE *Table,
|
||||||
|
CLONG ByteSize
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef VOID
|
||||||
|
(NTAPI *PRTL_AVL_FREE_ROUTINE) (
|
||||||
|
struct _RTL_AVL_TABLE *Table,
|
||||||
|
PVOID Buffer
|
||||||
|
);
|
||||||
|
|
||||||
typedef struct _PUBLIC_BCB {
|
typedef struct _PUBLIC_BCB {
|
||||||
CSHORT NodeTypeCode;
|
CSHORT NodeTypeCode;
|
||||||
CSHORT NodeByteSize;
|
CSHORT NodeByteSize;
|
||||||
|
@ -1395,12 +1455,43 @@ typedef struct _RTL_SPLAY_LINKS {
|
||||||
struct _RTL_SPLAY_LINKS *RightChild;
|
struct _RTL_SPLAY_LINKS *RightChild;
|
||||||
} RTL_SPLAY_LINKS, *PRTL_SPLAY_LINKS;
|
} RTL_SPLAY_LINKS, *PRTL_SPLAY_LINKS;
|
||||||
|
|
||||||
typedef enum _RTL_GENERIC_COMPARE_RESULTS
|
typedef struct _RTL_BALANCED_LINKS
|
||||||
{
|
{
|
||||||
GenericLessThan,
|
struct _RTL_BALANCED_LINKS *Parent;
|
||||||
GenericGreaterThan,
|
struct _RTL_BALANCED_LINKS *LeftChild;
|
||||||
GenericEqual
|
struct _RTL_BALANCED_LINKS *RightChild;
|
||||||
} RTL_GENERIC_COMPARE_RESULTS;
|
CHAR Balance;
|
||||||
|
UCHAR Reserved[3];
|
||||||
|
} RTL_BALANCED_LINKS, *PRTL_BALANCED_LINKS;
|
||||||
|
|
||||||
|
typedef struct _RTL_GENERIC_TABLE
|
||||||
|
{
|
||||||
|
PRTL_SPLAY_LINKS TableRoot;
|
||||||
|
LIST_ENTRY InsertOrderList;
|
||||||
|
PLIST_ENTRY OrderedPointer;
|
||||||
|
ULONG WhichOrderedElement;
|
||||||
|
ULONG NumberGenericTableElements;
|
||||||
|
PRTL_GENERIC_COMPARE_ROUTINE CompareRoutine;
|
||||||
|
PRTL_GENERIC_ALLOCATE_ROUTINE AllocateRoutine;
|
||||||
|
PRTL_GENERIC_FREE_ROUTINE FreeRoutine;
|
||||||
|
PVOID TableContext;
|
||||||
|
} RTL_GENERIC_TABLE, *PRTL_GENERIC_TABLE;
|
||||||
|
|
||||||
|
typedef struct _RTL_AVL_TABLE
|
||||||
|
{
|
||||||
|
RTL_BALANCED_LINKS BalancedRoot;
|
||||||
|
PVOID OrderedPointer;
|
||||||
|
ULONG WhichOrderedElement;
|
||||||
|
ULONG NumberGenericTableElements;
|
||||||
|
ULONG DepthOfTree;
|
||||||
|
PRTL_BALANCED_LINKS RestartKey;
|
||||||
|
ULONG DeleteCount;
|
||||||
|
PRTL_AVL_COMPARE_ROUTINE CompareRoutine;
|
||||||
|
PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine;
|
||||||
|
PRTL_AVL_FREE_ROUTINE FreeRoutine;
|
||||||
|
PVOID TableContext;
|
||||||
|
} RTL_AVL_TABLE, *PRTL_AVL_TABLE;
|
||||||
|
|
||||||
|
|
||||||
#if defined(USE_LPC6432)
|
#if defined(USE_LPC6432)
|
||||||
#define LPC_CLIENT_ID CLIENT_ID64
|
#define LPC_CLIENT_ID CLIENT_ID64
|
||||||
|
|
|
@ -2507,6 +2507,7 @@ DbgBreakPoint(VOID);
|
||||||
//
|
//
|
||||||
// Generic Table Functions
|
// Generic Table Functions
|
||||||
//
|
//
|
||||||
|
#if defined(NTOS_MODE_USER) || defined(_NTIFS_)
|
||||||
PVOID
|
PVOID
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlInsertElementGenericTable(
|
RtlInsertElementGenericTable(
|
||||||
|
@ -2541,6 +2542,7 @@ RtlLookupElementGenericTableFull(
|
||||||
OUT PVOID *NodeOrParent,
|
OUT PVOID *NodeOrParent,
|
||||||
OUT TABLE_SEARCH_RESULT *SearchResult
|
OUT TABLE_SEARCH_RESULT *SearchResult
|
||||||
);
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Handle Table Functions
|
// Handle Table Functions
|
||||||
|
|
Loading…
Reference in a new issue