From: Sir Richard Date: Wed, 12 May 2010 00:38:46 +0000 (+0000) Subject: [NTOS]: HEADERS: Add PDE_TOP. It is defined for IA64/AMD64 but not for i386 (in the... X-Git-Tag: backups/header-work@57446~16^2~103 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f61cf60f1b88c3a6287a6590249e1e8a2c8d9527 [NTOS]: HEADERS: Add PDE_TOP. It is defined for IA64/AMD64 but not for i386 (in the public headers). Add a note that these addresses are bogus on PAE systems. svn path=/trunk/; revision=47160 --- diff --git a/reactos/ntoskrnl/include/internal/i386/mm.h b/reactos/ntoskrnl/include/internal/i386/mm.h index 7e768bbde1c..68f312a6f24 100644 --- a/reactos/ntoskrnl/include/internal/i386/mm.h +++ b/reactos/ntoskrnl/include/internal/i386/mm.h @@ -14,8 +14,10 @@ PULONG MmGetPageDirectory(VOID); #define PAGETABLE_MAP (0xc0000000) #define PAGEDIRECTORY_MAP (0xc0000000 + (PAGETABLE_MAP / (1024))) +/* FIXME: These are different for PAE */ #define PTE_BASE 0xC0000000 #define PDE_BASE 0xC0300000 +#define PDE_TOP 0xC0300FFF #define PTE_TOP 0xC03FFFFF #define HYPER_SPACE 0xC0400000