-#ifndef __INCLUDE_INTERNAL_MM_H
-#define __INCLUDE_INTERNAL_MM_H
+#pragma once
#include <internal/arch/mm.h>
} u4;
} MMPFN, *PMMPFN;
-extern PMMPFN MmPfnDatabase[2];
+extern PMMPFN MmPfnDatabase;
typedef struct _MMPFNLIST
{
if ((MiPfnBitMap.Buffer) && !(RtlTestBit(&MiPfnBitMap, Pfn))) return NULL;
/* Get the entry */
- Page = &MmPfnDatabase[0][Pfn];
+ Page = &MmPfnDatabase[Pfn];
/* Return it */
return Page;
//
// This will return the Page Frame Number (PFN) from the MMPFN
//
- return Pfn1 - MmPfnDatabase[0];
+ return Pfn1 - MmPfnDatabase;
}
PFN_TYPE
{
return MmKernelAddressSpace;
}
-
-#endif