VirtualBox

Changeset 31444 in vbox for trunk/include


Ignore:
Timestamp:
Aug 6, 2010 7:47:04 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64517
Message:

PGM: Don't let the ATA device exhaust the dynamic mapping cache - implemented actual unlocking of pages in PGMPhysReleasePageMappingLock. (RC and darwin.x86+R0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/types.h

    r30646 r31444  
    825825/**
    826826 * Page mapping lock.
    827  *
    828827 */
    829828typedef struct PGMPAGEMAPLOCK
    830829{
    831     /** @todo see PGMPhysIsPageMappingLockValid for possibly incorrect assumptions */
    832830#if defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0)
    833     /** Just a dummy for the time being. */
    834     uint32_t    u32Dummy;
    835     uint32_t    u32Dummy1;
    836 # if HC_ARCH_BITS == 64
    837     uint32_t    u32Align[2];
    838 # endif
     831    /** The locked page. */
     832    void       *pvPage;
     833    /** Pointer to the CPU that made the mapping.
     834     * In ring-0 and raw-mode context we don't intend to ever allow long term
     835     * locking and this is a way of making sure we're still on the same CPU. */
     836    PVMCPU      pVCpu;
    839837#else
    840838    /** Pointer to the PGMPAGE and lock type.
Note: See TracChangeset for help on using the changeset viewer.

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