VirtualBox

Changeset 101598 in vbox


Ignore:
Timestamp:
Oct 26, 2023 9:45:37 AM (11 months ago)
Author:
vboxsync
Message:

pdmifs.h,DevACPI.cpp,ConsoleImpl.cpp: Move the power button events out of the ACPI port interface into a separate one so it can be re-used elsewhere, bugref:10538 [doxygen]

Location:
trunk
Files:
2 edited

Legend:

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

    r101597 r101598  
    23982398#define PDMIVFSCONNECTOR_IID               "a1fc51e0-414a-4e78-8388-8053b9dc6521"
    23992399
     2400
     2401/** Pointer to an GPIO ports interface. */
     2402typedef struct PDMIGPIOPORTS      *PPDMIGPIOPORTS;
     2403/**
     2404 * Interface for GPIO ports (down).
     2405 * Pair with PDMIGPIOCONNECTORS.
     2406 */
     2407typedef struct PDMIGPIOPORTS
     2408{
     2409    uint32_t uDummy;
     2410} PDMIGPIOPORTS;
     2411/** PDMIGPIOPORTS interface ID. */
     2412#define PDMIGPIOPORTS_IID                       "75e0017c-4cda-47a4-8160-f4cc436025c4"
     2413
     2414
     2415/** Pointer to an GPIO connectors interface. */
     2416typedef struct PDMIGPIOCONNECTORS *PPDMIGPIOCONNECTORS;
     2417/**
     2418 * GPIO connector interface (up).
     2419 * Pair with PDMIGPIOPORTS.
     2420 */
     2421typedef struct PDMIGPIOCONNECTOR
     2422{
     2423    uint32_t uDummy;
     2424} PDMIGPIOCONNECTOR;
     2425/** PDMIGPIOCONNECTOR interface ID. */
     2426#define PDMIGPIOCONNECTOR_IID                   "504bff7e-489f-4829-8cc3-f9b080d39133"
     2427
    24002428/** @} */
    24012429
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r101597 r101598  
    12381238
    12391239/**
    1240  * @interface_method_impl{PDMIACPIPORT,pfnQueryGuestCanHandleButtonEvents}
     1240 * @interface_method_impl{PDMIEVENTBUTTONPORT,pfnQueryGuestCanHandleButtonEvents}
    12411241 */
    12421242static DECLCALLBACK(int) acpiR3Port_QueryGuestCanHandleButtonEvents(PPDMIEVENTBUTTONPORT pInterface, bool *pfCanHandleButtonEvents)
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