133{
136 ACPI_IO_ADDRESS LastAddress;
138
139
141
142
143
144
145 if ((BitWidth != 8) &&
146 (BitWidth != 16) &&
147 (BitWidth != 32))
148 {
150 "Bad BitWidth parameter: %8.8X", BitWidth));
152 }
153
156 LastAddress =
Address + ByteWidth - 1;
157
159 "Address %8.8X%8.8X LastAddress %8.8X%8.8X Length %X",
161 ByteWidth));
162
163
164
166 {
168 "Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X",
171 }
172
173
174
176 {
178 }
179
180
181
183 {
184
185
186
187
188
189
190
191
192
193 if ((Address <= PortInfo->End) && (LastAddress >= PortInfo->
Start))
194 {
195
196
198 {
200 "Denied AML access to port 0x%8.8X%8.8X/%X (%s 0x%.4X-0x%.4X)\n",
203
205 }
206 }
207
208
209
210 if (LastAddress <= PortInfo->End)
211 {
212 break;
213 }
214 }
215
217}
#define ACPI_FORMAT_UINT64(i)
#define ACPI_DEBUG_PRINT(pl)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
static const ACPI_PORT_INFO AcpiProtectedPorts[]
#define ACPI_PORT_INFO_ENTRIES