VirtualBox

Ignore:
Timestamp:
May 23, 2023 8:05:36 AM (20 months ago)
Author:
vboxsync
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI-binaries.S

    r98103 r99927  
    7171.type g_cbEfiFirmware64 object
    7272#endif
     73
     74#ifdef VBOX_VMM_TARGET_ARMV8
     75;
     76; The ARMv8 bits
     77;
     78
     79; 32-bit firmware:
     80.p2align 6
     81.globl NAME(g_abEfiFirmwareAArch32)
     82NAME(g_abEfiFirmwareAArch32):
     83        .incbin "VBoxEFIAArch32.fd"
     84end_aarch32_firmware:
     85
     86.p2align 2
     87.globl NAME(g_cbEfiFirmwareAArch32)
     88NAME(g_cbEfiFirmwareAArch32):
     89        .long end_aarch32_firmware - NAME(g_abEfiFirmwareAArch32)
     90
     91
     92; 64-bit firmware:
     93.p2align 6
     94.globl NAME(g_abEfiFirmwareAArch64)
     95NAME(g_abEfiFirmwareAArch64):
     96        .incbin "VBoxEFIAArch64.fd"
     97end_aarch64_firmware:
     98
     99.p2align 2
     100.globl NAME(g_cbEfiFirmwareAArch64)
     101NAME(g_cbEfiFirmwareAArch64):
     102        .long  end_aarch64_firmware - NAME(g_abEfiFirmwareAArch64)
     103
     104# ifdef ASM_FORMAT_ELF
     105.size g_abEfiFirmwareAArch32 end_aarch32_firmware - NAME(g_abEfiFirmwareAArch32)
     106.type g_abEfiFirmwareAArch32 object
     107.size g_cbEfiFirmwareAArch32 4
     108.type g_cbEfiFirmwareAArch32 object
     109
     110.size g_abEfiFirmwareAArch64 end_aarch64_firmware - NAME(g_abEfiFirmwareAArch64)
     111.type g_abEfiFirmwareAArch64 object
     112.size g_cbEfiFirmwareAArch64 4
     113.type g_cbEfiFirmwareAArch64 object
     114# endif
     115#endif
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