Author: akhaldi
Date: Sun Sep 1 17:55:00 2013
New Revision: 59953
URL:
http://svn.reactos.org/svn/reactos?rev=59953&view=rev
Log:
[KMTESTS]
* Run this block now that guard pages are supported.
ROSTESTS-107 #resolve
Modified:
trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c
Modified: trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_mm/ZwAllocat…
==============================================================================
--- trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c [iso-8859-1] Sun Sep 1
17:55:00 2013
@@ -238,8 +238,7 @@
//////////////////////////////////////////////////////////////////////////
// GUARD PAGES
//////////////////////////////////////////////////////////////////////////
-/* FIXME: We don't support guard pages. See CORE-6639, ROSTESTS-107 */
-#ifdef ROSTESTS_107_FIXED
+
RegionSize = 1000;
Base = NULL;
ZwAllocateVirtualMemory(NtCurrentProcess(), &Base, 0, &RegionSize,
(MEM_COMMIT | MEM_RESERVE), (PAGE_GUARD | PAGE_READWRITE));
@@ -257,7 +256,6 @@
RegionSize = 0;
ZwFreeVirtualMemory(NtCurrentProcess(), &Base, &RegionSize, MEM_RELEASE);
-#endif /* ROSTESTS_107_FIXED */
return Status;
}