VirtualBox

Changeset 99927 in vbox for trunk/src/VBox/Main


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/Main/src-client/ConsoleImplConfigArmV8.cpp

    r99925 r99927  
    178178
    179179        PCFGMNODE pMemRegion = NULL;
    180         InsertConfigNode(pMem, "Flash", &pMemRegion);
    181         InsertConfigInteger(pMemRegion, "GCPhysStart", 0);
    182         InsertConfigInteger(pMemRegion, "Size", 64 * _1M);
    183 
    184180        InsertConfigNode(pMem, "Conventional", &pMemRegion);
    185181        InsertConfigInteger(pMemRegion, "GCPhysStart", 0x40000000);
     
    285281
    286282        InsertConfigNode(pRoot, "Devices", &pDevices);
     283
     284        InsertConfigNode(pDevices, "efi-armv8",             &pDev);
     285        InsertConfigNode(pDev,     "0",                     &pInst);
     286        InsertConfigNode(pInst,    "Config",                &pCfg);
     287        InsertConfigInteger(pCfg,  "GCPhysLoadAddress",     0);
     288        InsertConfigString(pCfg,   "EfiRom",                "VBoxEFIAArch64.fd");
    287289
    288290        InsertConfigNode(pDevices, "gic",                   &pDev);
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