Author: fireball
Date: Sun Feb 27 19:36:46 2011
New Revision: 50927
URL:
http://svn.reactos.org/svn/reactos?rev=50927&view=rev
Log:
[RTL/HEAP]
- A few comments, and a new structure definition (currently unused). Absolutely no changes
to the actual code.
Modified:
trunk/reactos/lib/rtl/heap.h
Modified: trunk/reactos/lib/rtl/heap.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heap.h?rev=50927&a…
==============================================================================
--- trunk/reactos/lib/rtl/heap.h [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heap.h [iso-8859-1] Sun Feb 27 19:36:46 2011
@@ -182,6 +182,19 @@
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 @@
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