VirtualBox

Changeset 41533 in vbox for trunk/src/VBox/Devices


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

VGA: Bring GCPhysVRAM into the 21st century.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 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);
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r40433 r41533  
    255255    uint32_t                    u32Marker;
    256256    /** The physical address the VRAM was assigned. */
    257     RTGCPHYS32                  GCPhysVRAM;
     257    RTGCPHYS                    GCPhysVRAM;
    258258    /** The R0 vram pointer... */
    259259    R0PTRTYPE(uint8_t *)        vram_ptrR0;
     
    274274    bool                        Padding1[2];
    275275
    276 #if HC_ARCH_BITS == 64
     276#if HC_ARCH_BITS == 32
    277277    uint32_t                    Padding2;
    278278#endif
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