VirtualBox

Ignore:
Timestamp:
Aug 18, 2015 1:35:18 PM (9 years ago)
Author:
vboxsync
Message:

VMM/HM: Start removing VBOX_WITH_HYBRID_32BIT_KERNEL code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/HMInternal.h

    r57109 r57429  
    3434#include <iprt/string.h>
    3535
    36 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) || defined (VBOX_WITH_64_BITS_GUESTS)
     36#if HC_ARCH_BITS == 64 || defined (VBOX_WITH_64_BITS_GUESTS)
    3737/* Enable 64 bits guest support. */
    3838# define VBOX_ENABLE_64_BITS_GUESTS
    3939#endif
    4040
    41 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     41#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS)
    4242# define VMX_USE_CACHED_VMCS_ACCESSES
    4343#endif
     
    385385    uint32_t                    u32Alignment0;
    386386
    387 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     387#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS)
    388388    /** 32 to 64 bits switcher entrypoint. */
    389389    R0PTRTYPE(PFNHMSWITCHERHC)  pfnHost32ToGuest64R0;
     
    883883    STAMPROFILEADV          StatInGC;
    884884
    885 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     885#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS)
    886886    STAMPROFILEADV          StatWorldSwitch3264;
    887887#endif
     
    10001000    STAMCOUNTER             StatVmxCheckPmOk;
    10011001
    1002 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     1002#if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS)
    10031003    STAMCOUNTER             StatFpu64SwitchBack;
    10041004    STAMCOUNTER             StatDebug64SwitchBack;
     
    10401040# endif
    10411041
    1042 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL
    1043 /**
    1044  * Gets 64-bit GDTR and IDTR on darwin.
    1045  * @param  pGdtr        Where to store the 64-bit GDTR.
    1046  * @param  pIdtr        Where to store the 64-bit IDTR.
    1047  */
    1048 DECLASM(void) HMR0Get64bitGdtrAndIdtr(PX86XDTR64 pGdtr, PX86XDTR64 pIdtr);
    1049 
    1050 /**
    1051  * Gets 64-bit CR3 on darwin.
    1052  * @returns CR3
    1053  */
    1054 DECLASM(uint64_t) HMR0Get64bitCR3(void);
    1055 # endif  /* VBOX_WITH_HYBRID_32BIT_KERNEL */
    1056 
    10571042#endif /* IN_RING0 */
    10581043
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