VirtualBox

Ignore:
Timestamp:
Nov 25, 2009 8:34:23 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55214
Message:

2d accel: clear the Graphics Device IRQ in case it is set on reset

File:
1 edited

Legend:

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

    r24678 r24926  
    15381538}
    15391539
    1540 void HGSMIReset (PHGSMIINSTANCE pIns)
    1541 {
     1540uint32_t HGSMIReset (PHGSMIINSTANCE pIns)
     1541{
     1542    uint32_t flags = 0;
    15421543    if(pIns->pHGFlags)
    15431544    {
    15441545        /* treat the abandoned commands as read.. */
    15451546        while(HGSMIHostRead (pIns) != HGSMIOFFSET_VOID)  {}
     1547        flags = pIns->pHGFlags->u32HostFlags;
     1548        pIns->pHGFlags->u32HostFlags = 0;
    15461549    }
    15471550
     
    15501553
    15511554    HGSMIHeapSetupUnitialized (&pIns->hostHeap);
     1555
     1556    return flags;
    15521557}
    15531558
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