VirtualBox

Changeset 108068 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Feb 5, 2025 11:35:53 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167348
Message:

Runtime/RTAcpi*: Updates to the ACPI ASL -> AML compiler, bugref:10733 [missing file]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/acpi.h

    r108059 r108068  
    6666    kAcpiAstArgType_ObjType,
    6767    kAcpiAstArgType_RegionSpace,
     68    kAcpiAstArgType_FieldAcc,
     69    kAcpiAstArgType_FieldUpdate,
    6870    kAcpiAstArgType_32Bit_Hack = 0x7fffffff
    6971} RTACPIASTARGTYPE;
     
    9092        RTACPIOBJTYPE       enmObjType;
    9193        RTACPIOPREGIONSPACE enmRegionSpace;
     94        RTACPIFIELDACC      enmFieldAcc;
     95        RTACPIFIELDUPDATE   enmFieldUpdate;
    9296    } u;
    9397} RTACPIASTARG;
     
    128132    kAcpiAstNodeOp_Unicode,
    129133    kAcpiAstNodeOp_OperationRegion,
     134    kAcpiAstNodeOp_Field,
     135    kAcpiAstNodeOp_Name,
     136    kAcpiAstNodeOp_ResourceTemplate,
     137    kAcpiAstNodeOp_Arg0,
     138    kAcpiAstNodeOp_Arg1,
     139    kAcpiAstNodeOp_Arg2,
     140    kAcpiAstNodeOp_Arg3,
     141    kAcpiAstNodeOp_Arg4,
     142    kAcpiAstNodeOp_Arg5,
     143    kAcpiAstNodeOp_Arg6,
     144    kAcpiAstNodeOp_Local0,
     145    kAcpiAstNodeOp_Local1,
     146    kAcpiAstNodeOp_Local2,
     147    kAcpiAstNodeOp_Local3,
     148    kAcpiAstNodeOp_Local4,
     149    kAcpiAstNodeOp_Local5,
     150    kAcpiAstNodeOp_Local6,
     151    kAcpiAstNodeOp_Local7,
     152    kAcpiAstNodeOp_Package,
     153    kAcpiAstNodeOp_Buffer,
     154    kAcpiAstNodeOp_ToUuid,
     155    kAcpiAstNodeOp_DerefOf,
     156    kAcpiAstNodeOp_Index,
     157    kAcpiAstNodeOp_Store,
    130158    kAcpiAstNodeOp_32Bit_Hack = 0x7fffffff
    131159} RTACPIASTNODEOP;
     
    138166{
    139167    /** List node. */
    140     RTLISTNODE          NdAst;
     168    RTLISTNODE              NdAst;
    141169    /** The AML op defining the node. */
    142     RTACPIASTNODEOP     enmOp;
     170    RTACPIASTNODEOP         enmOp;
    143171    /** Some additional flags. */
    144     uint32_t            fFlags;
     172    uint32_t                fFlags;
    145173    /** Operation dependent data. */
    146174    union
    147175    {
    148176        /** List of other AST nodes for the opened scope if indicated by the AST flags (RTACPIASTNODE). */
    149         RTLISTANCHOR    LstScopeNodes;
     177        RTLISTANCHOR        LstScopeNodes;
    150178        /** Pointer to the identifier if an identifier node. */
    151         const char      *pszIde;
     179        const char          *pszIde;
    152180        /** Pointer to the string literal if a string literal node. */
    153         const char      *pszStrLit;
     181        const char          *pszStrLit;
    154182        /** A number */
    155         uint64_t        u64;
     183        uint64_t            u64;
     184        /** Pointer to the field unit list - freed with RTMemFree() when the node is freed. */
     185        PRTACPIFIELDENTRY   paFields;
     186        /** The resource template. */
     187        RTACPIRES           hAcpiRes;
    156188    };
    157189    /** Number of "arguments" for the opcode following (for example Scope(), Method(), If(), etc., i.e. anything requiring () after the keyword ). */
    158     uint8_t             cArgs;
     190    uint8_t                 cArgs;
    159191    /** Padding */
    160     uint8_t             abRsvd[2];
     192    uint8_t                 abRsvd[2];
    161193    /** The AST node arguments - variable in size. */
    162     RTACPIASTARG        aArgs[1];
     194    RTACPIASTARG            aArgs[1];
    163195} RTACPIASTNODE;
    164196
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette