VirtualBox

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


Ignore:
Timestamp:
May 23, 2023 8:05:36 AM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157570
Message:

Devices/EFI,Main: Include EFI firmware images for ARMv8 in VBoxDD2 and provide a basic efi device specific for ARMv8 to get rid of the firmware loading hack by using a dedicated device implementation mapping the image as a ROM into the guest address space, bugref:10400

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

Legend:

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

    r99893 r99927  
    249249#endif
    250250#ifdef VBOX_VMM_TARGET_ARMV8
     251    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceEfiArmV8);
     252    if (RT_FAILURE(rc))
     253        return rc;
     254
    251255    rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePl011);
    252256    if (RT_FAILURE(rc))
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r99893 r99927  
    230230
    231231#ifdef VBOX_VMM_TARGET_ARMV8
     232extern const PDMDEVREG g_DeviceEfiArmV8;
    232233extern const PDMDEVREG g_DevicePl011;
    233234extern const PDMDEVREG g_DevicePl031Rtc;
  • trunk/src/VBox/Devices/build/VBoxDD2.h

    r98103 r99927  
    6060extern DECLEXPORT(const unsigned char)  g_abEfiFirmware64[];
    6161extern DECLEXPORT(const unsigned)       g_cbEfiFirmware64;
     62#  ifdef VBOX_VMM_TARGET_ARMV8
     63extern DECLEXPORT(const unsigned char)  g_abEfiFirmwareAArch32[];
     64extern DECLEXPORT(const unsigned)       g_cbEfiFirmwareAArch32;
     65extern DECLEXPORT(const unsigned char)  g_abEfiFirmwareAArch64[];
     66extern DECLEXPORT(const unsigned)       g_cbEfiFirmwareAArch64;
     67#  endif
    6268# endif
    6369#else  /* !IN_VBOXDD2 */
     
    8389extern DECLIMPORT(const unsigned char)  g_abEfiFirmware64[];
    8490extern DECLIMPORT(const unsigned)       g_cbEfiFirmware64;
     91#  ifdef VBOX_VMM_TARGET_ARMV8
     92extern DECLIMPORT(const unsigned char)  g_abEfiFirmwareAArch32[];
     93extern DECLIMPORT(const unsigned)       g_cbEfiFirmwareAArch32;
     94extern DECLIMPORT(const unsigned char)  g_abEfiFirmwareAArch64[];
     95extern DECLIMPORT(const unsigned)       g_cbEfiFirmwareAArch64;
     96#  endif
    8597# endif
    8698#endif /* !IN_VBOXDD2 */
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