VirtualBox

Changeset 15317 in vbox


Ignore:
Timestamp:
Dec 11, 2008 5:24:42 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40744
Message:

Removed VMR3GetGuestBitness.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmapi.h

    r15303 r15317  
    420420VMMR3DECL(RTNATIVETHREAD)   VMR3GetVMCPUNativeThread(PVM pVM);
    421421VMMR3DECL(RTNATIVETHREAD)   VMR3GetVMCPUNativeThreadU(PUVM pUVM);
    422 VMMR3DECL(int32_t)          VMR3GetGuestBitness(PVM pVM);
    423422
    424423/** @} */
  • trunk/src/VBox/VMM/VM.cpp

    r15303 r15317  
    32723272}
    32733273
    3274 /**
    3275  * Compute supposed guest bitness.
    3276  *
    3277  * @returns maximum bitness this guest may use
    3278  * @param   pVM             The VM handle.
    3279  */
    3280 VMMR3DECL(int32_t)          VMR3GetGuestBitness(PVM pVM)
    3281 {
    3282    
    3283     bool hasLongMode = CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_LONG_MODE);
    3284 
    3285     return hasLongMode ? 64 : 32;
    3286 }
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