VirtualBox

Changeset 101320 in vbox for trunk


Ignore:
Timestamp:
Sep 29, 2023 3:43:07 PM (16 months ago)
Author:
vboxsync
Message:

Devices: Add a generic platform device for registering ROM files and loading arbitrary resources into guest memory, bugref:10528

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/log.h

    r101035 r101320  
    167167    /** PIT Device group. */
    168168    LOG_GROUP_DEV_PIT,
     169    /** Generic Platform Device group. */
     170    LOG_GROUP_DEV_PLATFORM,
    169171    /** QEMU firmware config Device group. */
    170172    LOG_GROUP_DEV_QEMUFWCFG,
     
    915917    "DEV_PIC", \
    916918    "DEV_PIT", \
     919    "DEV_PLATFORM", \
    917920    "DEV_QEMUFWCFG", \
    918921    "DEV_RTC", \
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r100128 r101320  
    272272    if (RT_FAILURE(rc))
    273273        return rc;
     274
     275    rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePlatform);
     276    if (RT_FAILURE(rc))
     277        return rc;
    274278#endif
    275279
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r100128 r101320  
    241241extern const PDMDEVREG g_DeviceFlashCFI;
    242242extern const PDMDEVREG g_DevicePciGenericEcam;
     243extern const PDMDEVREG g_DevicePlatform;
    243244#endif
    244245
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