[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 24 Nov 2010 22:51:03 +0000 (22:51 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 24 Nov 2010 22:51:03 +0000 (22:51 +0000)
Fix the fix, ie fix x86.
Everything should work now ~

svn path=/trunk/; revision=49790

reactos/ntoskrnl/include/internal/i386/mm.h

index 2f70fd5..83b48ef 100644 (file)
@@ -39,7 +39,7 @@ PULONG MmGetPageDirectory(VOID);
 // Convert a PTE into a corresponding address
 //
 #define MiPteToAddress(PTE) ((PVOID)((ULONG)(PTE) << 10))
-#define MiPdeToAddress(PDE) ((PVOID)((ULONG)(PDE) << 18))
+#define MiPdeToAddress(PDE) ((PVOID)((ULONG)(PDE) << 10))
 
 #define ADDR_TO_PAGE_TABLE(v) (((ULONG)(v)) / (1024 * PAGE_SIZE))
 #define ADDR_TO_PDE_OFFSET(v) ((((ULONG)(v)) / (1024 * PAGE_SIZE)))