mirror of
https://github.com/reactos/reactos.git
synced 2024-10-25 15:36:07 +00:00
246357c187
- 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
25 lines
707 B
C
25 lines
707 B
C
#define WIN32_LEAN_AND_MEAN
|
|
#define __ROS_LONG64__
|
|
#include <windows.h>
|
|
|
|
#define STANDALONE
|
|
#include "wine/test.h"
|
|
|
|
extern void func_NtAllocateVirtualMemory(void);
|
|
extern void func_NtFreeVirtualMemory(void);
|
|
extern void func_NtSystemInformation(void);
|
|
extern void func_RtlInitializeBitMap(void);
|
|
extern void func_ZwContinue(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "NtAllocateVirtualMemory", func_NtAllocateVirtualMemory },
|
|
{ "NtFreeVirtualMemory", func_NtFreeVirtualMemory },
|
|
{ "NtSystemInformation", func_NtSystemInformation },
|
|
{ "RtlInitializeBitMap", func_RtlInitializeBitMap },
|
|
{ "ZwContinue", func_ZwContinue },
|
|
|
|
{ 0, 0 }
|
|
};
|
|
|