Author: tkreuzer
Date: Mon Nov 9 14:42:36 2009
New Revision: 44047
URL:
http://svn.reactos.org/svn/reactos?rev=44047&view=rev
Log:
fix build of ntoskrnl
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/mm.h
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/mm.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/mm.h [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/mm.h [iso-8859-1]
Mon Nov 9 14:42:36 2009
@@ -17,8 +17,8 @@
#define PAGE_MASK(x) ((x)&(~0xfff))
#define PAE_PAGE_MASK(x) ((x)&(~0xfffLL))
-#define MI_HYPER_SPACE_START 0xFFFFF70000000000ULL
-#define MI_HYPER_SPACE_END 0xFFFFF77FFFFFFFFFULL
+#define HYPER_SPACE 0xFFFFF70000000000ULL
+#define HYPER_SPACE_END 0xFFFFF77FFFFFFFFFULL
/* Base addresses of PTE and PDE */
//#define PAGETABLE_MAP PTE_BASE
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] Mon Nov 9
14:42:36 2009
@@ -32,8 +32,8 @@
FORCEINLINE
MiIsHyperspaceAddress(PVOID Address)
{
- return ((ULONG64)Address >= MI_HYPER_SPACE_START &&
- (ULONG64)Address <= MI_HYPER_SPACE_END);
+ return ((ULONG64)Address >= HYPER_SPACE &&
+ (ULONG64)Address <= HYPER_SPACE_END);
}
VOID
@@ -497,7 +497,7 @@
for (i = VAtoPXI(MmSystemRangeStart); i < 512; i++)
{
if ((i < VAtoPXI(PTE_BASE) || i > VAtoPXI(PTE_TOP)) &&
- (i < VAtoPXI(MI_HYPER_SPACE_START) || i > VAtoPXI(MI_HYPER_SPACE_END))
&&
+ (i < VAtoPXI(HYPER_SPACE) || i > VAtoPXI(HYPER_SPACE_END)) &&
MmGlobalKernelPageDirectory[i] == 0 &&
CurrentPageDirectory[i] != 0)
{