summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h')
-rw-r--r--src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h b/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
index 98cf339c..6fe015da 100644
--- a/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
+++ b/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2006-2012 Oracle Corporation
+ * Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -138,20 +138,13 @@ extern VBGLDATA g_vbgldata;
*
* @param a_fLocked For the windows shared folders workarounds.
*
- * @remarks Disable the PageList feature for 64-bit Windows, because shared
- * folders do not work, if this is enabled. This should be reenabled
- * again when the problem is fixed.
- * @remarks Disabled the PageList feature for 32-bit Windows, see xTracker
- * ticket 6096 and public ticket 10290. Hopefully this is the same
- * issue as on Windows/AMD64.
+ * @remarks Disabled the PageList feature for locked memory on Windows,
+ * because a new MDL is created by VBGL to get the page addresses
+ * and the pages from the MDL are marked as dirty when they should not.
*/
#if defined(RT_OS_WINDOWS)
-# ifdef RT_ARCH_AMD64
-# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) ( 0 )
-# else
-# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
- ( !(a_fLocked) && (g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) )
-# endif
+# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
+ ( !(a_fLocked) && (g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) )
#else
# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
( !!(g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) )