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/VMMR0/HMVMXR0.h

    r56287 r57429  
    4545
    4646
    47 # if HC_ARCH_BITS == 32 && defined(VBOX_WITH_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
     47# if HC_ARCH_BITS == 32 && defined(VBOX_WITH_64_BITS_GUESTS)
    4848DECLASM(int)    VMXR0SwitcherStartVM64(RTHCUINT fResume, PCPUMCTX pCtx, PVMCSCACHE pCache, PVM pVM, PVMCPU pVCpu);
    4949VMMR0DECL(int)  VMXR0Execute64BitsHandler(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, HM64ON32OP enmOp, uint32_t cbParam,
     
    6363# endif
    6464
    65 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL
    66 /* Don't use fAllow64BitGuests for VMXReadVmcsGstN() even though it looks right, as it can be forced to 'true'.
    67    HMVMX_IS_64BIT_HOST_MODE() is what we need. */
    68 #  define VMXReadVmcsHstN(idxField, p64Val)               HMVMX_IS_64BIT_HOST_MODE() ?                      \
    69                                                             VMXReadVmcs64(idxField, p64Val)                 \
    70                                                           : (*(p64Val) &= UINT64_C(0xffffffff),             \
    71                                                              VMXReadVmcs32(idxField, (uint32_t *)(p64Val)))
    72 #  define VMXReadVmcsGstN                                 VMXReadVmcsHstN
    73 #  define VMXReadVmcsGstNByIdxVal                         VMXReadVmcsGstN
    74 # elif HC_ARCH_BITS == 32
     65# if HC_ARCH_BITS == 32
    7566#  define VMXReadVmcsHstN                                 VMXReadVmcs32
    7667#  define VMXReadVmcsGstN(idxField, pVal)                 VMXReadCachedVmcsEx(pVCpu, idxField##_CACHE_IDX, pVal)
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