Author: sir_richard
Date: Tue Oct 5 05:01:15 2010
New Revision: 48991
URL:
http://svn.reactos.org/svn/reactos?rev=48991&view=rev
Log:
[NTOS]: Add a _64K macro definition so we can stop typing out 65536 all the time.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
Modified: trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/miarm.h?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] Tue Oct 5 05:01:15 2010
@@ -55,6 +55,9 @@
#define _1KB (1024u)
#define _1MB (1024 * _1KB)
#define _1GB (1024 * _1MB)
+
+/* Everyone loves 64K */
+#define _64K (64 * _1KB)
/* Area mapped by a PDE */
#define PDE_MAPPED_VA (PTE_COUNT * PAGE_SIZE)
@@ -248,7 +251,7 @@
//
// System views are binned into 64K chunks
//
-#define MI_SYSTEM_VIEW_BUCKET_SIZE 65536
+#define MI_SYSTEM_VIEW_BUCKET_SIZE _64K
//
// FIXFIX: These should go in ex.h after the pool merge
@@ -1140,6 +1143,23 @@
OUT PMMADDRESS_NODE *Parent
);
+NTSTATUS
+NTAPI
+MiFindEmptyAddressRangeInTree(
+ IN SIZE_T Length,
+ IN ULONG_PTR Alignment,
+ IN PMM_AVL_TABLE Table,
+ OUT PMMADDRESS_NODE *PreviousVad,
+ OUT PULONG_PTR Base
+);
+
+VOID
+NTAPI
+MiInsertVad(
+ IN PMMVAD Vad,
+ IN PEPROCESS Process
+);
+
VOID
NTAPI
MiInsertNode(