From: Amine Khaldi Date: Sun, 1 Sep 2013 17:55:00 +0000 (+0000) Subject: [KMTESTS] X-Git-Tag: ReactOS-0.3.16~1558 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=3a0cb73e64ff46e75d4572f06f14e02216b343d7 [KMTESTS] * Run this block now that guard pages are supported. ROSTESTS-107 #resolve svn path=/trunk/; revision=59953 --- diff --git a/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c b/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c index d551ee200ba..eefd8b84840 100644 --- a/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c +++ b/rostests/kmtests/ntos_mm/ZwAllocateVirtualMemory.c @@ -238,8 +238,7 @@ SimpleAllocation(VOID) ////////////////////////////////////////////////////////////////////////// // 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 @@ SimpleAllocation(VOID) RegionSize = 0; ZwFreeVirtualMemory(NtCurrentProcess(), &Base, &RegionSize, MEM_RELEASE); -#endif /* ROSTESTS_107_FIXED */ return Status; }