VirtualBox

Changeset 61675 in vbox for trunk/include


Ignore:
Timestamp:
Jun 13, 2016 12:39:34 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108032
Message:

Devices/ACPI: Notify the guest by sending a battery status change event by calling the GPE bit 0 handler. Also tell the guest to re-evaluate _BST (battery dynamic state) and _PSR (AC adapter status). I don't think that the guest needs to re-evaluate _BIF (battery info) at this time. Thanks Dennis Wassenberg / secunet!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmifs.h

    r60905 r61675  
    14691469     */
    14701470    DECLR3CALLBACKMEMBER(int, pfnMonitorHotPlugEvent,(PPDMIACPIPORT pInterface));
     1471
     1472    /**
     1473     * Send a battery status change event.
     1474     *
     1475     * @returns VBox status code
     1476     * @param   pInterface      Pointer to the interface structure containing
     1477     *                          the called function pointer.
     1478     */
     1479    DECLR3CALLBACKMEMBER(int, pfnBatteryStatusChangeEvent,(PPDMIACPIPORT pInterface));
    14711480} PDMIACPIPORT;
    14721481/** PDMIACPIPORT interface ID. */
     
    15051514} PDMIACPICONNECTOR;
    15061515/** PDMIACPICONNECTOR interface ID. */
    1507 #define PDMIACPICONNECTOR_IID                   "5f14bf8d-1edf-4e3a-a1e1-cca9fd08e359"
     1516#define PDMIACPICONNECTOR_IID                   "19c7de73-5ae0-4841-a106-21825f43b206"
    15081517
    15091518
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