222{
225 ACPI_SIZE BufferSpaceNeeded;
227
228
230
231
232
233
236 {
238 }
239
240
241
243 if (!
Info->PrefixNode)
244 {
247 }
248
249
250
251
252
253
254
255
256
259 {
260
261
263 }
265 {
266
267
268
269
270
272 {
274 "Both Handle and Pathname are NULL"));
275 }
276 else
277 {
279 "Null Handle with relative pathname [%s]",
Pathname));
280 }
281
284 }
285
287
288
289
290
291
292 if (ExternalParams && ExternalParams->
Count)
293 {
295
296
297
299 {
301 "Excess arguments (%u) - using only %u",
303
305 }
306
307
308
309
310
312 ((ACPI_SIZE)
Info->ParamCount + 1) *
sizeof (
void *));
313 if (!
Info->Parameters)
314 {
317 }
318
319
320
321 for (
i = 0;
i <
Info->ParamCount;
i++)
322 {
326 {
328 }
329 }
330
332 }
333
334
335#ifdef _FUTURE_FEATURE
336
337
338
339
340
342 {
344
345
346
347 if (
Info->ObjDesc->Method.ParamCount >
Info->ParamCount)
348 {
350 "Insufficient arguments (%u) - %u are required",
352 Info->ObjDesc->Method.ParamCount));
353
356 }
357
358 else if (
Info->ObjDesc->Method.ParamCount <
Info->ParamCount)
359 {
361 "Excess arguments (%u) - only %u are required",
363 Info->ObjDesc->Method.ParamCount));
364
365
366
367 Info->ParamCount =
Info->ObjDesc->Method.ParamCount;
368 }
369
370
371
372
373
374 if (
Info->ParamCount)
375 {
376
377
378
379
381 ((ACPI_SIZE)
Info->ParamCount + 1) *
sizeof (
void *));
382 if (!
Info->Parameters)
383 {
386 }
387
388
389
390 for (
i = 0;
i <
Info->ParamCount;
i++)
391 {
395 {
397 }
398 }
399
401 }
402 break;
403
404 default:
405
406
407
408 if (
Info->ParamCount)
409 {
411 "%u arguments were passed to a non-method ACPI object",
413 }
414 break;
415 }
416
417#endif
418
419
420
421
423
424
425
426
427
428 if (!ReturnBuffer)
429 {
430 goto CleanupReturnObject;
431 }
432
433 if (!
Info->ReturnObject)
434 {
437 }
438
441 {
442
443
444
445
446
447
448
449
453 }
454
456 {
457 goto CleanupReturnObject;
458 }
459
460
461
463
464
465
467 &BufferSpaceNeeded);
469 {
470
471
473 BufferSpaceNeeded);
475 {
476
477
478
479
481 "Needed buffer size %X, %s\n",
482 (
UINT32) BufferSpaceNeeded,
484 }
485 else
486 {
487
488
490 Info->ReturnObject, ReturnBuffer);
491 }
492 }
493
494CleanupReturnObject:
495
496 if (
Info->ReturnObject)
497 {
498
499
500
501
503
504
505
508 }
509
510
512
513
514
515 if (
Info->Parameters)
516 {
517
518
520 }
521
524}
#define AE_MISSING_ARGUMENTS
#define ACPI_GET_DESCRIPTOR_TYPE(d)
#define ACPI_IS_ROOT_PREFIX(c)
#define ACPI_WARN_PREDEFINED(plist)
ACPI_OBJECT_TYPE AcpiNsGetType(ACPI_NAMESPACE_NODE *Node)
ACPI_STATUS AcpiNsEvaluate(ACPI_EVALUATE_INFO *Info)
#define ACPI_DESC_TYPE_NAMED
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_WARNING(plist)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING Pathname
#define ACPI_ALLOCATE_ZEROED(a)
ACPI_STATUS AcpiUtInitializeBuffer(ACPI_BUFFER *Buffer, ACPI_SIZE RequiredLength)
ACPI_STATUS AcpiUtCopyIobjectToEobject(ACPI_OPERAND_OBJECT *Obj, ACPI_BUFFER *RetBuffer)
void AcpiUtDeleteInternalObjectList(ACPI_OPERAND_OBJECT **ObjList)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
ACPI_STATUS AcpiUtCopyEobjectToIobject(ACPI_OBJECT *Obj, ACPI_OPERAND_OBJECT **InternalObj)
ACPI_STATUS AcpiUtGetObjectSize(ACPI_OPERAND_OBJECT *Obj, ACPI_SIZE *ObjLength)
static const WCHAR Cleanup[]
#define ACPI_METHOD_NUM_ARGS
void AcpiExExitInterpreter(void)
void AcpiExEnterInterpreter(void)
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
ACPI_STATUS AcpiEvaluateObject(ACPI_HANDLE Handle, ACPI_STRING Pathname, ACPI_OBJECT_LIST *ExternalParams, ACPI_BUFFER *ReturnBuffer)
static void AcpiNsResolveReferences(ACPI_EVALUATE_INFO *Info)
const char * AcpiFormatException(ACPI_STATUS Status)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList