Author: tkreuzer
Date: Fri Aug 18 08:42:43 2017
New Revision: 75605
URL:
http://svn.reactos.org/svn/reactos?rev=75605&view=rev
Log:
[NTOSKRNL] Fix memory area macros
Modified:
trunk/reactos/ntoskrnl/include/internal/mm.h
Modified: trunk/reactos/ntoskrnl/include/internal/mm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/mm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/mm.h [iso-8859-1] Fri Aug 18 08:42:43 2017
@@ -200,8 +200,8 @@
};
} ROS_SECTION_OBJECT, *PROS_SECTION_OBJECT;
-#define MA_GetStartingAddress(_MemoryArea) (MemoryArea->VadNode.StartingVpn <<
PAGE_SHIFT)
-#define MA_GetEndingAddress(_MemoryArea) ((MemoryArea->VadNode.EndingVpn + 1) <<
PAGE_SHIFT)
+#define MA_GetStartingAddress(_MemoryArea) (_MemoryArea->VadNode.StartingVpn <<
PAGE_SHIFT)
+#define MA_GetEndingAddress(_MemoryArea) ((_MemoryArea->VadNode.EndingVpn + 1)
<< PAGE_SHIFT)
typedef struct _MEMORY_AREA
{