VirtualBox

Ignore:
Timestamp:
Jun 1, 2012 10:01:22 AM (13 years ago)
Author:
vboxsync
Message:

VGA: Bring GCPhysVRAM into the 21st century.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r41406 r41533  
    46174617
    46184618    STAM_COUNTER_INC(&pThis->StatUpdateDisp);
    4619     if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32)
     4619    if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS)
    46204620    {
    46214621        PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM);
     
    46474647
    46484648    /* The dirty bits array has been just cleared, reset handlers as well. */
    4649     if (pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32)
     4649    if (pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS)
    46504650        PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM);
    46514651    if (pThis->fRemappedVGA)
     
    55265526             || pThis->fR0Enabled)
    55275527        &&  pThis->GCPhysVRAM
    5528         &&  pThis->GCPhysVRAM != NIL_RTGCPHYS32)
     5528        &&  pThis->GCPhysVRAM != NIL_RTGCPHYS)
    55295529    {
    55305530        int rc = PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM);
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