VirtualBox

Changeset 101618 in vbox for trunk/src/VBox/Devices/build


Ignore:
Timestamp:
Oct 27, 2023 12:47:55 PM (15 months ago)
Author:
vboxsync
Message:

Devices/Gpio: Add virtual GPIO button driver to simulate button presses using GPIO, for passing power/sleep button requests to the guest, bugref:10538

Location:
trunk/src/VBox/Devices/build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r101616 r101618  
    492492#endif
    493493
     494#ifdef VBOX_WITH_VIRT_ARMV8
     495    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvGpioButton);
     496    if (RT_FAILURE(rc))
     497        return rc;
     498#endif
    494499    return VINF_SUCCESS;
    495500}
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r101616 r101618  
    243243extern const PDMDEVREG g_DevicePciGenericEcamBridge;
    244244extern const PDMDEVREG g_DevicePlatform;
     245
     246extern const PDMDRVREG g_DrvGpioButton;
    245247#endif
    246248
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