VirtualBox

Ignore:
Timestamp:
Feb 6, 2013 7:54:11 AM (12 years ago)
Author:
vboxsync
Message:

VBOXSF: use page list for read/write buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h

    r42316 r44558  
    55
    66/*
    7  * Copyright (C) 2006-2012 Oracle Corporation
     7 * Copyright (C) 2006-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    139139 * @param   a_fLocked       For the windows shared folders workarounds.
    140140 *
    141  * @remarks Disable the PageList feature for 64-bit Windows, because shared
    142  *          folders do not work, if this is enabled. This should be reenabled
    143  *          again when the problem is fixed.
    144  * @remarks Disabled the PageList feature for 32-bit Windows, see xTracker
    145  *          ticket 6096 and public ticket 10290. Hopefully this is the same
    146  *          issue as on Windows/AMD64.
     141 * @remarks Disabled the PageList feature for locked memory on Windows,
     142 *          because a new MDL is created by VBGL to get the page addresses
     143 *          and the pages from the MDL are marked as dirty when they should not.
    147144 */
    148145#if defined(RT_OS_WINDOWS)
    149 # ifdef RT_ARCH_AMD64
    150 #  define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked)  ( 0 )
    151 # else
    152 #  define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
    153      ( !(a_fLocked) && (g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) )
    154 # endif
     146# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
     147    ( !(a_fLocked) && (g_vbgldata.hostVersion.features & VMMDEV_HVF_HGCM_PHYS_PAGE_LIST) )
    155148#else
    156149# define VBGLR0_CAN_USE_PHYS_PAGE_LIST(a_fLocked) \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette