Changeset 45091 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Mar 19, 2013 4:01:32 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84380
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r44791 r45091 1629 1629 #endif 1630 1630 1631 #if HC_ARCH_BITS == 64 1632 #define VMXWriteVmcs VMXWriteVmcs64 1633 #else 1634 #define VMXWriteVmcs VMXWriteVmcs32 1635 #endif /* HC_ARCH_BITS == 64 */ 1631 #ifdef VBOX_WITH_OLD_VTX_CODE 1632 # if HC_ARCH_BITS == 64 1633 # define VMXWriteVmcs VMXWriteVmcs64 1634 # else 1635 # define VMXWriteVmcs VMXWriteVmcs32 1636 # endif 1637 #else /* !VBOX_WITH_OLD_VTX_CODE */ 1638 # if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 1639 # define VMXWriteVmcsHstN VMXWriteVmcs64 1640 # else 1641 # define VMXWriteVmcsHstN VMXWriteVmcs32 1642 # endif 1643 # define VMXWriteVmcsGstN VMXWriteVmcs64 1644 #endif 1636 1645 1637 1646 … … 1731 1740 1732 1741 # if HC_ARCH_BITS == 64 1733 # define VMXReadVmcs VMXReadVmcs641742 # define VMXReadVmcsField VMXReadVmcs64 1734 1743 # else 1735 # define VMXReadVmcs VMXReadVmcs321744 # define VMXReadVmcsField VMXReadVmcs32 1736 1745 # endif 1737 1746 -
trunk/include/VBox/vmm/vmm.h
r44394 r45091 111 111 VMMCALLRING3_32BIT_HACK = 0x7fffffff 112 112 } VMMCALLRING3; 113 114 /** 115 * VMMRZCallRing3 notification callback. 116 * 117 * @param pVCpu Pointer to the VMCPU. 118 * @param enmOperation The operation causing the ring-3 jump. 119 * @param pvUser The user argument. 120 */ 121 typedef DECLCALLBACK(void) FNVMMR0CALLRING3NOTIFICATION(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser); 122 /** Pointer to a FNRTMPNOTIFICATION(). */ 123 typedef FNVMMR0CALLRING3NOTIFICATION *PFNVMMR0CALLRING3NOTIFICATION; 113 124 114 125 /** … … 504 515 VMMRZDECL(void) VMMRZCallRing3Enable(PVMCPU pVCpu); 505 516 VMMRZDECL(bool) VMMRZCallRing3IsEnabled(PVMCPU pVCpu); 517 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, PFNVMMR0CALLRING3NOTIFICATION pfnCallback, void *pvUser); 518 VMMRZDECL(void) VMMRZCallRing3RemoveNotification(PVMCPU pVCpu); 506 519 /** @} */ 507 520 #endif
Note:
See TracChangeset
for help on using the changeset viewer.