Changeset 40901 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
- Timestamp:
- Apr 13, 2012 12:45:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
r38407 r40901 1 /* $Revision$ */1 /* Id: 73443 $ */ 2 2 /** @file 3 3 * VBoxGuestLibR0 - Internal header. … … 5 5 6 6 /* 7 * Copyright (C) 2006-20 07Oracle Corporation7 * Copyright (C) 2006-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 121 121 122 122 /** 123 * Internal macro for checking whether we can pass phy ical page lists to the123 * Internal macro for checking whether we can pass physical page lists to the 124 124 * host. 125 125 * 126 126 * ASSUMES that vbglR0Enter has been called already. 127 * 128 * @param a_fLocked For the windows shared folders workarounds. 129 * 130 * @remarks Disable the PageList feature for 64-bit Windows, because shared 131 * folders do not work, if this is enabled. This should be reenabled 132 * again when the problem is fixed. 133 * @remarks Disabled the PageList feature for 32-bit Windows, see xTracker 134 * ticket 6096 and public ticket 10290. Hopefully this is the same 135 * issue as on Windows/AMD64. 127 136 */ 128 #if defined(RT_OS_WINDOWS) && defined(RT_ARCH_AMD64) 129 /* Disable the PageList feature for 64 bit Windows, because shared folders do not work, 130 * if this is enabled. This should be reenabled again when the problem is fixed. 131 */ 132 #define VBGLR0_CAN_USE_PHYS_PAGE_LIST() \ 133 ( 0 ) 137 #if defined(RT_OS_WINDOWS) 138 # ifdef RT_ARCH_AMD64 139 # define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) ( 0 ) 140 # else 141 # define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \ 142 ( !(a_fLocked) && (g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) ) 143 # endif 134 144 #else 135 # define VBGLR0_CAN_USE_PHYS_PAGE_LIST() \145 # define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \ 136 146 ( !!(g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) ) 137 147 #endif
Note:
See TracChangeset
for help on using the changeset viewer.