- Timestamp:
- Dec 17, 2013 4:06:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r49958 r49959 824 824 DECLINLINE(int) ohciSetInterruptInt(POHCI ohci, int rcBusy, uint32_t intr, const char *msg) 825 825 { 826 int rc = VINF_SUCCESS; 827 828 rc = PDMCritSectEnter(&ohci->CsIrq, rcBusy); 826 int rc = PDMCritSectEnter(&ohci->CsIrq, rcBusy); 829 827 if (rc != VINF_SUCCESS) 830 828 return rc; … … 4132 4130 uint32_t res = pThis->intr_status & ~val; 4133 4131 uint32_t chg = pThis->intr_status ^ res; NOREF(chg); 4134 int rc = VINF_SUCCESS; 4135 4136 rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4132 4133 int rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4137 4134 if (rc != VINF_SUCCESS) 4138 4135 return rc; … … 4181 4178 uint32_t res = pThis->intr | val; 4182 4179 uint32_t chg = pThis->intr ^ res; NOREF(chg); 4183 int rc = VINF_SUCCESS; 4184 4185 rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4180 4181 int rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4186 4182 if (rc != VINF_SUCCESS) 4187 4183 return rc; … … 4232 4228 uint32_t res = pThis->intr & ~val; 4233 4229 uint32_t chg = pThis->intr ^ res; NOREF(chg); 4234 int rc = VINF_SUCCESS; 4235 4236 rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4230 4231 int rc = PDMCritSectEnter(&pThis->CsIrq, VINF_IOM_R3_MMIO_WRITE); 4237 4232 if (rc != VINF_SUCCESS) 4238 4233 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.