mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00

- Add NtAllocateVirtualMemory test, which is a small stress test for virtual memory allocation/freeing/reuse - Can be used to reproduce bug 5857 in third stage (install with VT-x enabled, then disable for the test) - Shows that the bug is a race condition in Mm, and not heap's fault - I've put ASSERTs instead of ok's for easier debugging svn path=/trunk/; revision=54548
18 lines
475 B
CMake
18 lines
475 B
CMake
|
|
list(APPEND SOURCE
|
|
NtAllocateVirtualMemory.c
|
|
NtFreeVirtualMemory.c
|
|
RtlInitializeBitMap.c
|
|
SystemInfo.c
|
|
ZwContinue.c
|
|
testlist.c)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE i386/ZwContinue.S)
|
|
endif()
|
|
|
|
add_executable(ntdll_apitest ${SOURCE})
|
|
target_link_libraries(ntdll_apitest wine)
|
|
set_module_type(ntdll_apitest win32cui)
|
|
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
|
add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)
|