VirtualBox

Changeset 24957 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Nov 25, 2009 2:49:10 PM (15 years ago)
Author:
vboxsync
Message:

EFI: CPU count getter misplaced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r24951 r24957  
    887887                                N_("Configuration error: Invalid config value(s) for the EFI device"));
    888888
     889    /* CPU count (optional). */
     890    rc = CFGMR3QueryU32Def(pCfgHandle, "NumCPUs", &pThis->cCpus, 1);
     891    AssertLogRelRCReturn(rc, rc);
     892
    889893    rc = CFGMR3QueryU8Def(pCfgHandle, "IOAPIC", &pThis->u8IOAPIC, 1);
    890894    if (RT_FAILURE (rc))
     
    924928    pThis->cbAbove4GB = pThis->cbRam - pThis->cbBelow4GB;
    925929
    926     /* CPU count (optional). */
    927     rc = CFGMR3QueryU32Def(pCfgHandle, "NumCPUs", &pThis->cCpus, 1);
    928     AssertLogRelRCReturn(rc, rc);
     930   
    929931    /*
    930932     * Get the system EFI ROM file name.
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