2017-06-02 19:19:32 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
|
|
* LICENSE: GPLv2+ - See COPYING in the top level directory
|
|
|
|
* PURPOSE: Kernel-Mode Test Suite MmMapLockedPagesSpecifyCache test declarations
|
|
|
|
* PROGRAMMER: Pierre Schweitzer <pierre@reactos.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
|
|
|
|
#define _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
|
|
|
|
|
|
|
|
typedef struct _QUERY_BUFFER
|
|
|
|
{
|
|
|
|
USHORT Length;
|
|
|
|
PVOID Buffer;
|
|
|
|
BOOLEAN Cached;
|
2017-06-18 08:00:29 +00:00
|
|
|
NTSTATUS Status;
|
2017-06-02 19:19:32 +00:00
|
|
|
} QUERY_BUFFER, *PQUERY_BUFFER;
|
|
|
|
|
|
|
|
typedef struct _READ_BUFFER
|
|
|
|
{
|
|
|
|
USHORT Length;
|
|
|
|
PVOID Buffer;
|
2017-06-03 10:29:39 +00:00
|
|
|
ULONG Pattern;
|
2017-06-02 19:19:32 +00:00
|
|
|
} READ_BUFFER, *PREAD_BUFFER;
|
|
|
|
|
|
|
|
#define IOCTL_QUERY_BUFFER 1
|
|
|
|
#define IOCTL_READ_BUFFER 2
|
2017-06-18 08:00:29 +00:00
|
|
|
#define IOCTL_CLEAN 3
|
2017-06-02 19:19:32 +00:00
|
|
|
|
2017-06-03 10:29:39 +00:00
|
|
|
#define WRITE_PATTERN 0xA4A5A6A7
|
|
|
|
|
2017-06-02 19:19:32 +00:00
|
|
|
#endif /* !defined _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_ */
|