[ros-diffs] [pschweitzer] 49790: [NTOSKRNL] Fix the fix, ie fix x86. Everything should work now ~

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Wed Nov 24 22:51:03 UTC 2010


Author: pschweitzer
Date: Wed Nov 24 22:51:03 2010
New Revision: 49790

URL: http://svn.reactos.org/svn/reactos?rev=49790&view=rev
Log:
[NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~

Modified:
    trunk/reactos/ntoskrnl/include/internal/i386/mm.h

Modified: trunk/reactos/ntoskrnl/include/internal/i386/mm.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/i386/mm.h?rev=49790&r1=49789&r2=49790&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/mm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/mm.h [iso-8859-1] Wed Nov 24 22:51:03 2010
@@ -39,7 +39,7 @@
 // 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)))




More information about the Ros-diffs mailing list