15 { 0x0000, 0x10, 1,
NULL },
16 { 0x0020, 0x02, 0,
NULL },
17 { 0x0040, 0x04, 1,
NULL },
18 { 0x0048, 0x04, 1,
NULL },
19 { 0x0070, 0x02, 1,
NULL },
20 { 0x0074, 0x03, 1,
NULL },
21 { 0x0081, 0x03, 1,
NULL },
22 { 0x0087, 0x01, 1,
NULL },
23 { 0x0089, 0x01, 1,
NULL },
24 { 0x008A, 0x02, 1,
NULL },
25 { 0x008F, 0x01, 1,
NULL },
26 { 0x0090, 0x02, 1,
NULL },
27 { 0x0093, 0x02, 1,
NULL },
28 { 0x0096, 0x02, 1,
NULL },
29 { 0x00A0, 0x02, 0,
NULL },
30 { 0x00C0, 0x20, 1,
NULL },
31 { 0x04D0, 0x02, 0,
NULL },
33 { 0x0CF8, 0x08, 1, (
PVOID)1 },
34 { 0x0000, 0x00, 0,
NULL },
43 ULONG AddressListLength;
62 if (
skip(AddressList !=
NULL,
"Failed to alloc %lu bytes\n", AddressListLength))
80 ok_eq_hex(AddressList[0].BadAddrBegin, 0x55555555UL);
87 AddressListLength - 1,
92 ok_eq_hex(AddressList[0].BadAddrBegin, 0x55555555UL);
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",
121 ok(AddressList[
i].IOHandler !=
NULL,
122 "[%lu] IOHandler = %p\n",
i, AddressList[
i].IOHandler);
126 ok(AddressList[
i].IOHandler ==
NULL,
127 "[%lu] IOHandler = %p\n",
i, AddressList[
i].IOHandler);
131 if (AddressList[
i].IOHandler !=
NULL)
139 AddressList[
i].BadAddrBegin - 1,
143 "[%lu] IOHandler returned 0x%lx\n",
i,
Status);
145 "[%lu] IOHandler returned Data 0x%lx\n",
i,
Data);
static HAL_AMLI_BAD_IO_ADDRESS_LIST ExpectedList[]
static void TestAMLIllegalIOPortAddresses(void)
#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