mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[KMTESTS]
* Run this block now that guard pages are supported. ROSTESTS-107 #resolve svn path=/trunk/; revision=59953
This commit is contained in:
parent
1f20f705c8
commit
3a0cb73e64
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue