40{
43 ULONG AddressListLength;
45
46
49 0,
55 {
56 return;
57 }
60 AddressListLength,
61 'OImK');
62 if (
skip(AddressList !=
NULL,
"Failed to alloc %lu bytes\n", AddressListLength))
63 {
64 return;
65 }
66
68 {
69
70
71
75 sizeof(*AddressList),
76 AddressList,
80 ok_eq_hex(AddressList[0].BadAddrBegin, 0x55555555UL);
81 }
82
83
87 AddressListLength - 1,
88 AddressList,
92 ok_eq_hex(AddressList[0].BadAddrBegin, 0x55555555UL);
93
94
98 AddressListLength,
99 AddressList,
103
104
109 {
111 "[%lu] BadAddrBegin 0x%lx, expected 0x%lx\n",
114 "[%lu] BadAddrSize 0x%lx, expected 0x%lx\n",
117 "[%lu] OSVersionTrigger 0x%lx, expected 0x%lx\n",
120 {
121 ok(AddressList[
i].IOHandler !=
NULL,
122 "[%lu] IOHandler = %p\n",
i, AddressList[
i].IOHandler);
123 }
124 else
125 {
126 ok(AddressList[
i].IOHandler ==
NULL,
127 "[%lu] IOHandler = %p\n",
i, AddressList[
i].IOHandler);
128 }
129
130
131 if (AddressList[
i].IOHandler !=
NULL)
132 {
134
135
136
137
139 AddressList[
i].BadAddrBegin - 1,
140 1,
143 "[%lu] IOHandler returned 0x%lx\n",
i,
Status);
145 "[%lu] IOHandler returned Data 0x%lx\n",
i,
Data);
146 }
147 }
149}
static HAL_AMLI_BAD_IO_ADDRESS_LIST ExpectedList[]
#define ok_eq_hex(value, expected)
#define ok_eq_ulong(value, expected)
_In_ ULONG _In_ BATTERY_QUERY_INFORMATION_LEVEL _In_ LONG _In_ ULONG _Out_ PULONG ReturnedLength
#define ExAllocatePoolWithTag(hernya, size, tag)
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
#define RtlFillMemory(Dest, Length, Fill)
#define ExFreePoolWithTag(_P, _T)
PHALIOREADWRITEHANDLER IOHandler
#define STATUS_UNSUCCESSFUL
#define STATUS_INFO_LENGTH_MISMATCH
#define HalQuerySystemInformation
@ HalQueryAMLIIllegalIOPortAddresses