Changeset 57429 in vbox for trunk/src/VBox/VMM/include/HMInternal.h
- Timestamp:
- Aug 18, 2015 1:35:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/HMInternal.h
r57109 r57429 34 34 #include <iprt/string.h> 35 35 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) 37 37 /* Enable 64 bits guest support. */ 38 38 # define VBOX_ENABLE_64_BITS_GUESTS 39 39 #endif 40 40 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) 42 42 # define VMX_USE_CACHED_VMCS_ACCESSES 43 43 #endif … … 385 385 uint32_t u32Alignment0; 386 386 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) 388 388 /** 32 to 64 bits switcher entrypoint. */ 389 389 R0PTRTYPE(PFNHMSWITCHERHC) pfnHost32ToGuest64R0; … … 883 883 STAMPROFILEADV StatInGC; 884 884 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) 886 886 STAMPROFILEADV StatWorldSwitch3264; 887 887 #endif … … 1000 1000 STAMCOUNTER StatVmxCheckPmOk; 1001 1001 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) 1003 1003 STAMCOUNTER StatFpu64SwitchBack; 1004 1004 STAMCOUNTER StatDebug64SwitchBack; … … 1040 1040 # endif 1041 1041 1042 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL1043 /**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 CR31053 */1054 DECLASM(uint64_t) HMR0Get64bitCR3(void);1055 # endif /* VBOX_WITH_HYBRID_32BIT_KERNEL */1056 1057 1042 #endif /* IN_RING0 */ 1058 1043
Note:
See TracChangeset
for help on using the changeset viewer.