VirtualBox

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


Ignore:
Timestamp:
Nov 20, 2009 1:34:44 PM (15 years ago)
Author:
vboxsync
Message:

EFI: correct 64-bit entry points

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r24706 r24822  
    826826    {
    827827        Utf8Str efiRomFile;
     828        /** @todo: which entry point to use for dual firmware, depend on guest? */
     829        bool f64BitEntry = eFwType == FirmwareType_EFI64;
    828830
    829831        rc = findEfiRom(eFwType, efiRomFile);                                       RC_CHECK();
     
    833835        rc = CFGMR3InsertNode(pDevices, "efi", &pDev);                              RC_CHECK();
    834836        rc = CFGMR3InsertNode(pDev,     "0", &pInst);                               RC_CHECK();
    835         rc = CFGMR3InsertInteger(pInst, "Trusted", 1);              /* boolean */   RC_CHECK();
     837        rc = CFGMR3InsertInteger(pInst, "Trusted", 1);              /* boolean */   RC_CHECK();       
    836838        rc = CFGMR3InsertNode(pInst,    "Config", &pCfg);                           RC_CHECK();
    837839        rc = CFGMR3InsertInteger(pCfg,  "RamSize",          cbRam);                 RC_CHECK();
     
    841843        rc = CFGMR3InsertInteger(pCfg,  "IOAPIC",               fIOAPIC);           RC_CHECK();
    842844        rc = CFGMR3InsertBytes(pCfg,    "UUID", &HardwareUuid,sizeof(HardwareUuid));RC_CHECK();
     845        rc = CFGMR3InsertInteger(pCfg,  "64BitEntry", f64BitEntry); /* boolean */   RC_CHECK();
    843846    }
    844847
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