mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
[NTOSKRNL]
Fix the fix, ie fix x86. Everything should work now ~ svn path=/trunk/; revision=49790
This commit is contained in:
parent
cea642beb3
commit
fb04d4fd23
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue