440{
446
447
449
450
451
452
454 {
455 if (!
Info->RegionNode)
456 {
459 }
460
463 {
466
468 }
469 }
470
471
472
474 if (!ObjDesc)
475 {
477 }
478
479
480
484 Info->FieldBitPosition,
Info->FieldBitLength);
486 {
489 }
490
491
492
493 switch (
Info->FieldType)
494 {
496
498
499
500
501 ObjDesc->
Field.AccessLength =
Info->AccessLength;
502
503 if (
Info->ConnectionNode)
504 {
505 SecondDesc =
Info->ConnectionNode->Object;
507 {
510 {
513 }
514 }
515
517 SecondDesc->
Buffer.Pointer;
520 }
521 else if (
Info->ResourceBuffer)
522 {
525 }
526
528
529
530
533 {
536
537
538
539 if (AccessByteWidth < 256)
540 {
542 (
UINT8) AccessByteWidth;
543 }
544 }
545
547 "RegionField: BitOff %X, Off %X, Gran %X, Region %p\n",
548 ObjDesc->
Field.StartFieldBitOffset,
549 ObjDesc->
Field.BaseByteOffset,
550 ObjDesc->
Field.AccessByteWidth,
552 break;
553
555
561
562
563
566
568 "Bank Field: BitOff %X, Off %X, Gran %X, Region %p, BankReg %p\n",
571 ObjDesc->
Field.AccessByteWidth,
574
575
576
577
578
579
580 SecondDesc = ObjDesc->
Common.NextObject;
582 Info->DataRegisterNode)->Named.Data;
584 Info->DataRegisterNode)->Named.Length;
585
586 break;
587
589
590
591
596
598 {
602 }
603
604
605
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
629
631 "IndexField: BitOff %X, Off %X, Value %X, "
632 "Gran %X, Index %p, Data %p\n",
636 ObjDesc->
Field.AccessByteWidth,
639 break;
640
641 default:
642
643
644
645 break;
646 }
647
648
649
650
651
654
656 "Set NamedObj %p [%4.4s], ObjDesc %p\n",
658
659
660
663}
#define AE_AML_NO_OPERAND
#define AE_AML_OPERAND_TYPE
#define ACPI_ROUND_BITS_UP_TO_BYTES(a)
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
ACPI_OBJECT_TYPE AcpiNsGetType(ACPI_NAMESPACE_NODE *Node)
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
#define AOPOBJ_DATA_VALID
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_ADR_SPACE_EC
#define ACPI_TYPE_LOCAL_BANK_FIELD
#define ACPI_TYPE_LOCAL_REGION_FIELD
#define ACPI_CAST_PTR(t, p)
#define ACPI_TYPE_LOCAL_INDEX_FIELD
#define AcpiUtCreateInternalObject(t)
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
const char * AcpiUtGetNodeName(void *Object)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
void AcpiUtDeleteObjectDesc(ACPI_OPERAND_OBJECT *Object)
void AcpiUtAddReference(ACPI_OPERAND_OBJECT *Object)
ACPI_STATUS AcpiDsGetBufferArguments(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_STATUS AcpiExPrepCommonFieldObject(ACPI_OPERAND_OBJECT *ObjDesc, UINT8 FieldFlags, UINT8 FieldAttribute, UINT32 FieldBitPosition, UINT32 FieldBitLength)
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * RegionObj
union acpi_operand_object * BankObj
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * IndexObj
union acpi_operand_object * DataObj
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO UINT16 ResourceLength
union acpi_operand_object * RegionObj
ACPI_OBJECT_COMMON_HEADER UINT8 SpaceId
ACPI_OBJECT_REGION_FIELD Field
ACPI_OBJECT_BANK_FIELD BankField
ACPI_OBJECT_REGION Region
ACPI_OBJECT_INDEX_FIELD IndexField
ACPI_OBJECT_BUFFER Buffer
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info