77{
79#if defined(_M_IX86) || defined(_M_AMD64)
83
84 for (
i = 0;
i < ValidPtes;
i++)
85 {
87 PteValue = GET_PTE_VALUE(CurrentAddress);
88 Valid = Valid &&
89 ok(PTE_IS_VALID(PteValue),
90 "[%lu] PTE for %p is not valid (0x%I64x)\n",
91 i, CurrentAddress, PteValue);
92
93 Valid = Valid &&
94 ok(PTE_GET_PFN(PteValue) == Pfns[
i],
95 "[%lu] PTE for %p has PFN %Ix, expected %Ix\n",
96 i, CurrentAddress, PTE_GET_PFN(PteValue), Pfns[
i]);
97 }
98 for (;
i < TotalPtes;
i++)
99 {
101 PteValue = GET_PTE_VALUE(CurrentAddress);
102 Valid = Valid &&
104 "[%lu] PTE for %p is nonzero (0x%I64x)\n",
105 i, CurrentAddress, PteValue);
106 }
108 PteValue = GET_PTE_VALUE(CurrentAddress);
109 Valid = Valid &&
111 "PTE for %p contains 0x%I64x, expected %x\n",
112 CurrentAddress, PteValue,
PoolTag & ~1);
114 PteValue = GET_PTE_VALUE(CurrentAddress);
115
117 {
118
119
120#ifdef _M_IX86
121 ExpectedValue = (TotalPtes + 2) << 12;
122#elif defined(_M_AMD64)
123 ExpectedValue = ((
ULONG64)TotalPtes + 2) << 32;
124#endif
125 }
126 else
127 {
128
129 ExpectedValue = (TotalPtes + 2) * 2;
130 }
131 Valid = Valid &&
132 ok(PteValue == ExpectedValue,
133 "PTE for %p contains 0x%I64x, expected %x\n",
134 CurrentAddress, PteValue, ExpectedValue);
135#endif
136
137 return Valid;
138}
static BOOLEAN g_IsReactOS
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag