mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
63eb4b623a
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical. This was designed/tested under W2K3. CORE-8204 svn path=/trunk/; revision=74759
32 lines
763 B
C
32 lines
763 B
C
/*
|
|
* 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;
|
|
} QUERY_BUFFER, *PQUERY_BUFFER;
|
|
|
|
typedef struct _READ_BUFFER
|
|
{
|
|
USHORT Length;
|
|
PVOID Buffer;
|
|
ULONG Pattern;
|
|
} READ_BUFFER, *PREAD_BUFFER;
|
|
|
|
#define IOCTL_QUERY_BUFFER 1
|
|
#define IOCTL_READ_BUFFER 2
|
|
|
|
#define WRITE_PATTERN 0xA4A5A6A7
|
|
|
|
#endif /* !defined _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_ */
|