Changeset 90445 in vbox for trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
- Timestamp:
- Jul 30, 2021 10:18:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r89196 r90445 729 729 static void lsilogicR3FinishContextReply(PPDMDEVINS pDevIns, PLSILOGICSCSI pThis, uint32_t u32MessageContext) 730 730 { 731 int rc;732 733 731 LogFlowFunc(("pThis=%#p u32MessageContext=%#x\n", pThis, u32MessageContext)); 734 732 … … 736 734 737 735 /* Write message context ID into reply post queue. */ 738 rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->ReplyPostQueueCritSect, VINF_SUCCESS);739 AssertRC(rc);736 int rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->ReplyPostQueueCritSect, VINF_SUCCESS); 737 PDM_CRITSECT_RELEASE_ASSERT_RC_DEV(pDevIns, &pThis->ReplyPostQueueCritSect, rc); 740 738 741 739 /* Check for a entry in the queue. */ … … 792 790 */ 793 791 # ifdef IN_RING3 794 int rc;795 792 /* Grab a free reply message from the queue. */ 796 rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->ReplyFreeQueueCritSect, VINF_SUCCESS);797 AssertRC(rc);793 int rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->ReplyFreeQueueCritSect, VINF_SUCCESS); 794 PDM_CRITSECT_RELEASE_ASSERT_RC_DEV(pDevIns, &pThis->ReplyFreeQueueCritSect, rc); 798 795 799 796 /* Check for a free reply frame. */ … … 822 819 /* Write low 32bits of reply frame into post reply queue. */ 823 820 rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->ReplyPostQueueCritSect, VINF_SUCCESS); 824 AssertRC(rc);821 PDM_CRITSECT_RELEASE_ASSERT_RC_DEV(pDevIns, &pThis->ReplyPostQueueCritSect, rc); 825 822 826 823 /* Check for a entry in the queue. */
Note:
See TracChangeset
for help on using the changeset viewer.