Changeset 46088 in vbox for trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
- Timestamp:
- May 15, 2013 9:43:36 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
r46076 r46088 71 71 #else /* !VBOX_WITH_OLD_VTX_CODE */ 72 72 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL 73 # define VMXReadVmcsHstN(idxField, pVal) HMVMX_IS_64BIT_HOST_MODE() ? \ 74 VMXReadVmcs64(idxField, pVal) \ 75 : VMXReadVmcs32(idxField, (uint32_t *)pVal) 76 # define VMXReadVmcsGstN VMXReadVmcsHstN 77 # define VMXReadVmcsGstNByIdxVal VMXReadVmcsHstN 73 # define VMXReadVmcsHstN(idxField, p64Val) HMVMX_IS_64BIT_HOST_MODE() ? \ 74 VMXReadVmcs64(idxField, p64Val) \ 75 : (*p64Val &= UINT64_C(0xffffffff), \ 76 VMXReadVmcs32(idxField, (uint32_t *)p64Val)) 77 # define VMXReadVmcsGstN(idxField, p64Val) (pVCpu->CTX_SUFF(pVM)->hm.s.fAllow64BitGuests) ? \ 78 VMXReadVmcs64(idxField, p64Val) \ 79 : (*p64Val &= UINT64_C(0xffffffff), \ 80 VMXReadVmcs32(idxField, (uint32_t *)p64Val)) 81 # define VMXReadVmcsGstNByIdxVal VMXReadVmcsGstN 78 82 # elif HC_ARCH_BITS == 32 79 83 # define VMXReadVmcsHstN VMXReadVmcs32
Note:
See TracChangeset
for help on using the changeset viewer.