VirtualBox

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


Ignore:
Timestamp:
Feb 11, 2025 9:22:02 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167482
Message:

Runtime/RTAcpi*: Continue with resource template parsing, bugref:10733

File:
1 edited

Legend:

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

    r108150 r108167  
    6868    kAcpiAstArgType_FieldAcc,
    6969    kAcpiAstArgType_FieldUpdate,
     70    kAcpiAstArgType_StringLiteral,
    7071    kAcpiAstArgType_32Bit_Hack = 0x7fffffff
    7172} RTACPIASTARGTYPE;
     
    8586        PRTACPIASTNODE      pAstNd;
    8687        const char          *pszNameString;
     88        const char          *pszStrLit;
    8789        bool                f;
    8890        uint8_t             u8;
     
    172174    kAcpiAstNodeOp_CondRefOf,
    173175    kAcpiAstNodeOp_IndexField,
     176    kAcpiAstNodeOp_EisaId,
     177    kAcpiAstNodeOp_CreateField,
     178    kAcpiAstNodeOp_CreateBitField,
     179    kAcpiAstNodeOp_CreateByteField,
     180    kAcpiAstNodeOp_CreateWordField,
     181    kAcpiAstNodeOp_CreateDWordField,
     182    kAcpiAstNodeOp_CreateQWordField,
    174183    kAcpiAstNodeOp_32Bit_Hack = 0x7fffffff
    175184} RTACPIASTNODEOP;
     
    348357
    349358/**
     359 * Adds a new namespace entry to the given name space - 64-bit value variant with format name string.
     360 *
     361 * @returns IPRT status code.
     362 * @param   pNsRoot             The namespace root to add the entry to.
     363 * @param   u64Val              The 64-bit value to associate with the entry.
     364 * @param   fSwitchTo           Flag whether to switch the current point for the namespace to this entry.
     365 * @param   pszNameStringFmt    An ACPI NameString (either segment or path) as a format string.
     366 * @param   ...                 The arguments for the format string.
     367 */
     368DECLHIDDEN(int) rtAcpiNsAddEntryU64F(PRTACPINSROOT pNsRoot, uint64_t u64Val, bool fSwitchTo, const char *pszNameStringFmt, ...); RT_IPRT_FORMAT_ATTR(4, 5);
     369
     370
     371/**
     372 * Adds a new namespace entry to the given name space - 64-bit value variant with format name string.
     373 *
     374 * @returns IPRT status code.
     375 * @param   pNsRoot             The namespace root to add the entry to.
     376 * @param   u64Val              The 64-bit value to associate with the entry.
     377 * @param   fSwitchTo           Flag whether to switch the current point for the namespace to this entry.
     378 * @param   pszNameStringFmt    An ACPI NameString (either segment or path) as a format string.
     379 * @param   va                  The format arguments.
     380 */
     381DECLHIDDEN(int) rtAcpiNsAddEntryU64V(PRTACPINSROOT pNsRoot, uint64_t u64Val, bool fSwitchTo, const char *pszNameStringFmt, va_list va); RT_IPRT_FORMAT_ATTR(4, 0);
     382
     383
     384/**
    350385 * Pops the current name space entry from the stack and returns to the previous one.
    351386 *
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