VirtualBox

Changeset 12214 in vbox


Ignore:
Timestamp:
Sep 8, 2008 10:32:31 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: codestyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp

    r12213 r12214  
    219219        uint32_t u32VendorEBX, u32VendorECX, u32VendorEDX, u32AMDFeatureEDX, u32AMDFeatureECX;
    220220
    221         ASMCpuId(0, &u32Dummy, &u32VendorEBX, &u32VendorECX, &u32VendorEDX);
    222         ASMCpuId(1, &u32Dummy, &u32Dummy, &u32FeaturesECX, &u32FeaturesEDX);
     221        ASMCpuId (0, &u32Dummy, &u32VendorEBX, &u32VendorECX, &u32VendorEDX);
     222        ASMCpuId (1, &u32Dummy, &u32Dummy, &u32FeaturesECX, &u32FeaturesEDX);
    223223        /* Query AMD features. */
    224         ASMCpuId(0x80000001, &u32Dummy, &u32Dummy, &u32AMDFeatureECX, &u32AMDFeatureEDX);
     224        ASMCpuId (0x80000001, &u32Dummy, &u32Dummy, &u32AMDFeatureECX, &u32AMDFeatureEDX);
    225225
    226226        fPAESupported = !!(u32FeaturesEDX & X86_CPUID_FEATURE_EDX_PAE);
     
    235235                 && (u32FeaturesEDX & X86_CPUID_FEATURE_EDX_FXSR)
    236236               )
    237             {
    238237                fVTxAMDVSupported = true;
    239             }
    240238        }
    241239        else
     
    249247                && (u32FeaturesEDX & X86_CPUID_FEATURE_EDX_FXSR)
    250248               )
    251             {
    252249                fVTxAMDVSupported = true;
    253             }
    254250        }
    255251    }
     
    258254    fVTxAMDVSupported = false;
    259255#endif
    260     mCbVirt->setEnabled(fVTxAMDVSupported);
     256    mCbVirt->setEnabled (fVTxAMDVSupported);
    261257   
    262258    /* VT-x/AMD-V */
     
    266262
    267263    /* PAE/NX */
    268     mCbPae->setEnabled(fPAESupported);
     264    mCbPae->setEnabled (fPAESupported);
    269265    mCbPae->setChecked (aMachine.GetPAEEnabled());
    270266
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