VirtualBox

Changeset 108029 in vbox for trunk/include/iprt/acpi.h


Ignore:
Timestamp:
Feb 3, 2025 3:58:01 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167302
Message:

Runtime/RTAcpi: Some more work on the ASL -> AML compiler, can process our vbox-standard.dsl now, bugref:10733

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/acpi.h

    r107952 r108029  
    277277 */
    278278RTDECL(int) RTAcpiTblDeviceFinalize(RTACPITBL hAcpiTbl);
     279
     280
     281/**
     282 * Starts a new processor object for the given ACPI table in the current scope.
     283 *
     284 * @returns IPRT status code.
     285 * @param   hAcpiTbl            The ACPI table handle.
     286 * @param   pszName             Name of the device object, must be <= 4 characters long.
     287 * @param   bProcId             The processor ID.
     288 * @param   u32PBlkAddr         Address of the processor register block.
     289 * @param   cbPBlk              Size of the processor register block in bytes.
     290 */
     291RTDECL(int) RTAcpiTblProcessorStart(RTACPITBL hAcpiTbl, const char *pszName, uint8_t bProcId, uint32_t u32PBlkAddr,
     292                                    uint8_t cbPBlk);
     293
     294
     295/**
     296 * Starts a new processor object for the given ACPI table in the current scope.
     297 *
     298 * @returns IPRT status code.
     299 * @param   hAcpiTbl            The ACPI table handle.
     300 * @param   bProcId             The processor ID.
     301 * @param   u32PBlkAddr         Address of the processor register block.
     302 * @param   cbPBlk              Size of the processor register block in bytes.
     303 * @param   pszNameFmt          The name of the device as a format string.
     304 * @param   ...                 The format arguments.
     305 */
     306RTDECL(int) RTAcpiTblProcessorStartF(RTACPITBL hAcpiTbl, uint8_t bProcId, uint32_t u32PBlkAddr, uint8_t cbPBlk,
     307                                     const char *pszNameFmt, ...) RT_IPRT_FORMAT_ATTR(5, 6);
     308
     309
     310/**
     311 * Starts a new processor object for the given ACPI table in the current scope.
     312 *
     313 * @returns IPRT status code.
     314 * @param   hAcpiTbl            The ACPI table handle.
     315 * @param   bProcId             The processor ID.
     316 * @param   u32PBlkAddr         Address of the processor register block.
     317 * @param   cbPBlk              Size of the processor register block in bytes.
     318 * @param   pszNameFmt          The name of the device as a format string.
     319 * @param   va                  The format arguments.
     320 */
     321RTDECL(int) RTAcpiTblProcessorStartV(RTACPITBL hAcpiTbl, uint8_t bProcId, uint32_t u32PBlkAddr, uint8_t cbPBlk,
     322                                     const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR(5, 0);
     323
     324
     325/**
     326 * Finalizes the current scope object, nothing can be added to the scope afterwards.
     327 *
     328 * @returns IPRT status code.
     329 * @param   hAcpiTbl            The ACPI table handle.
     330 */
     331RTDECL(int) RTAcpiTblProcessorFinalize(RTACPITBL hAcpiTbl);
    279332
    280333
Note: See TracChangeset for help on using the changeset viewer.

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