mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL]
Fix the fix, ie fix x86. Everything should work now ~ svn path=/trunk/; revision=49790
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user