mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[RTL/HEAP]
- A few comments, and a new structure definition (currently unused). Absolutely no changes to the actual code. svn path=/trunk/; revision=50927
This commit is contained in:
parent
a328e318a1
commit
ccebf72731
1 changed files with 15 additions and 1 deletions
|
@ -182,6 +182,19 @@ typedef struct _HEAP_TUNING_PARAMETERS
|
|||
ULONG MaxPreCommittThreshold;
|
||||
} HEAP_TUNING_PARAMETERS, *PHEAP_TUNING_PARAMETERS;
|
||||
|
||||
typedef struct _HEAP_LIST_LOOKUP
|
||||
{
|
||||
struct _HEAP_LIST_LOOKUP *ExtendedLookup;
|
||||
ULONG ArraySize;
|
||||
ULONG ExtraItem;
|
||||
ULONG ItemCount;
|
||||
ULONG OutOfRangeItems;
|
||||
ULONG BaseIndex;
|
||||
PLIST_ENTRY ListHead;
|
||||
PULONG ListsInUseUlong;
|
||||
PLIST_ENTRY *ListHints;
|
||||
} HEAP_LIST_LOOKUP, *PHEAP_LIST_LOOKUP;
|
||||
|
||||
typedef struct _HEAP
|
||||
{
|
||||
HEAP_ENTRY Entry;
|
||||
|
@ -229,10 +242,11 @@ typedef struct _HEAP
|
|||
struct _HEAP_SEGMENT *Segments[HEAP_SEGMENTS]; //FIXME: non-Vista
|
||||
USHORT AllocatorBackTraceIndex;
|
||||
ULONG NonDedicatedListLength;
|
||||
PVOID BlocksIndex;
|
||||
PVOID BlocksIndex; // HEAP_LIST_LOOKUP
|
||||
PVOID UCRIndex;
|
||||
PHEAP_PSEUDO_TAG_ENTRY PseudoTagEntries;
|
||||
LIST_ENTRY FreeLists[HEAP_FREELISTS]; //FIXME: non-Vista
|
||||
//LIST_ENTRY FreeLists;
|
||||
union
|
||||
{
|
||||
ULONG FreeListsInUseUlong[HEAP_FREELISTS / (sizeof(ULONG) * 8)]; //FIXME: non-Vista
|
||||
|
|
Loading…
Reference in a new issue