VirtualBox

Changeset 19045 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 21, 2009 2:10:00 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46164
Message:

ConsoleImpl2.cpp: wrong cRamMBs calc in disabled debug code.

File:
1 edited

Legend:

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

    r19007 r19045  
    199199#if 0 /* enable to play with lots of memory. */
    200200    if (RTEnvExist("VBOX_RAM_SIZE"))
    201         cRamMBs = RTStrToUInt64(RTEnvGet("VBOX_RAM_SIZE")) * 1024;
     201        cRamMBs = RTStrToUInt64(RTEnvGet("VBOX_RAM_SIZE"));
    202202#endif
    203203    uint64_t const cbRam = cRamMBs * (uint64_t)_1M;
     
    480480    rc = CFGMR3InsertInteger(pInst, "PCIBusNo",             1);/* ->pcibridge[0] */ RC_CHECK();
    481481#endif
    482    
    483    
     482
     483
    484484    Bstr tmpStr;
    485485    rc = pMachine->GetExtraData(Bstr("VBoxInternal/Devices/SupportExtHwProfile"), tmpStr.asOutParam());
     
    667667        rc = CFGMR3InsertInteger(pCfg,  "SmcEnabled", fSmcEnabled);                 RC_CHECK();
    668668#endif
    669         rc = CFGMR3InsertInteger(pCfg,  "ShowRtc", fExtProfile);                    RC_CHECK();     
     669        rc = CFGMR3InsertInteger(pCfg,  "ShowRtc", fExtProfile);                    RC_CHECK();
    670670        rc = CFGMR3InsertInteger(pCfg,  "ShowCpu", fExtProfile);                    RC_CHECK();
    671671        rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo",          7);                 RC_CHECK();
     
    12491249        }
    12501250#ifdef VMWARE_NET_IN_SLOT_11
    1251         /* 
     1251        /*
    12521252         * Dirty hack for PCI slot compatibility with VMWare,
    12531253         * it assigns slot 11 to the first network controller.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette