Changeset 62032 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jul 5, 2016 4:39:31 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r61973 r62032 3053 3053 if (u32 == HGSMIOFFSET_VOID) 3054 3054 { 3055 PDMCritSectEnter(&pThis-> critSectIRQ, VERR_SEM_BUSY);3055 PDMCritSectEnter(&pThis->CritSectIRQ, VERR_SEM_BUSY); 3056 3056 3057 3057 if (pThis->fu32PendingGuestFlags == 0) … … 3075 3075 } 3076 3076 3077 PDMCritSectLeave(&pThis-> critSectIRQ);3077 PDMCritSectLeave(&pThis->CritSectIRQ); 3078 3078 } 3079 3079 else … … 5954 5954 } 5955 5955 5956 PDMR3CritSectDelete(&pThis-> critSectIRQ);5956 PDMR3CritSectDelete(&pThis->CritSectIRQ); 5957 5957 PDMR3CritSectDelete(&pThis->CritSect); 5958 5958 return VINF_SUCCESS; … … 6186 6186 AssertRCReturn(rc, rc); 6187 6187 6188 rc = PDMDevHlpCritSectInit(pDevIns, &pThis-> critSectIRQ, RT_SRC_POS, "VGA#%u_IRQ", iInstance);6188 rc = PDMDevHlpCritSectInit(pDevIns, &pThis->CritSectIRQ, RT_SRC_POS, "VGA#%u_IRQ", iInstance); 6189 6189 AssertRCReturn(rc, rc); 6190 6190 -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r61973 r62032 588 588 /** The name of the VGA BIOS ROM file. */ 589 589 R3PTRTYPE(char *) pszVgaBiosFile; 590 # if HC_ARCH_BITS == 32 591 uint32_t Padding9; 592 # endif 590 593 591 594 # ifdef VBOX_WITH_HGSMI … … 593 596 RTIOPORT IOPortBase; 594 597 # ifdef VBOX_WITH_WDDM 595 uint8_t Padding 9[2];598 uint8_t Padding10[2]; 596 599 /** Specifies guest driver caps, i.e. whether it can handle IRQs from the 597 600 * adapter, the way it can handle async HGSMI command completion, etc. */ … … 600 603 uint32_t fHostCursorCapabilities; 601 604 # else 602 uint8_t Padding1 0[14];605 uint8_t Padding11[14]; 603 606 # endif 604 607 605 608 /** The critical section serializes the HGSMI IRQ setting/clearing. */ 606 PDMCRITSECT critSectIRQ;609 PDMCRITSECT CritSectIRQ; 607 610 /** VBVARaiseIRQ flags which were set when the guest was still processing previous IRQ. */ 608 611 uint32_t fu32PendingGuestFlags; 609 uint32_t Padding1 1;612 uint32_t Padding12; 610 613 # endif /* VBOX_WITH_HGSMI */ 611 614 -
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r61976 r62032 2082 2082 PPDMDEVINS pDevIns = pVGAState->pDevInsR3; 2083 2083 2084 PDMCritSectEnter(&pVGAState-> critSectIRQ, VERR_SEM_BUSY);2084 PDMCritSectEnter(&pVGAState->CritSectIRQ, VERR_SEM_BUSY); 2085 2085 2086 2086 const uint32_t fu32CurrentGuestFlags = HGSMIGetHostGuestFlags(pVGAState->pHGSMI); … … 2104 2104 } 2105 2105 2106 PDMCritSectLeave(&pVGAState-> critSectIRQ);2106 PDMCritSectLeave(&pVGAState->CritSectIRQ); 2107 2107 } 2108 2108 … … 2111 2111 PPDMDEVINS pDevIns = pThis->pDevInsR3; 2112 2112 2113 PDMCritSectEnter(&pThis-> critSectIRQ, VERR_SEM_BUSY);2113 PDMCritSectEnter(&pThis->CritSectIRQ, VERR_SEM_BUSY); 2114 2114 2115 2115 if (HGSMIGetHostGuestFlags(pThis->pHGSMI) & HGSMIHOSTFLAGS_IRQ) 2116 2116 PDMDevHlpPCISetIrqNoWait(pDevIns, 0, PDM_IRQ_LEVEL_HIGH); 2117 2117 2118 PDMCritSectLeave(&pThis-> critSectIRQ);2118 PDMCritSectLeave(&pThis->CritSectIRQ); 2119 2119 } 2120 2120
Note:
See TracChangeset
for help on using the changeset viewer.