- Timestamp:
- Oct 26, 2009 10:31:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53980
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r24053 r24095 886 886 RTSEMEVENT hComplEvent; 887 887 int rc = RTSemEventCreate(&hComplEvent); 888 Assert (RT_SUCCESS(rc));888 AssertRC(rc); 889 889 if(RT_SUCCESS(rc)) 890 890 { … … 902 902 } 903 903 904 Assert (RT_SUCCESS(rc));904 AssertRC(rc); 905 905 if(RT_SUCCESS(rc)) 906 906 { … … 927 927 928 928 int rc = vbvaVHWAHHCommandPost(pVGAState, pCmd); 929 Assert (RT_SUCCESS(rc));929 AssertRC(rc); 930 930 if(RT_SUCCESS(rc)) 931 931 { 932 932 rc = pCmd->rc; 933 Assert (RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED);933 AssertMsg(RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED, ("%Rrc\n", rc)); 934 934 vbvaVHWAHHCommandRelease(pCmd); 935 935 if(rc == VERR_NOT_IMPLEMENTED) … … 953 953 { 954 954 int rc = vbvaVHWAHHCommandPost(pVGAState, pCmd); 955 Assert (RT_SUCCESS(rc));955 AssertRC(rc); 956 956 if(RT_SUCCESS(rc)) 957 957 { 958 958 rc = pCmd->rc; 959 Assert(RT_SUCCESS(rc)); 959 #ifdef DEBUG_bird /** @todo the assertion below hits when booting dsl here and resetting during early boot... */ 960 AssertMsg(RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED, ("%Rrc\n", rc)); 961 if (rc == VERR_NOT_IMPLEMENTED) 962 rc = VINF_SUCCESS; 963 #else 964 AssertRC(rc); 965 #endif 960 966 vbvaVHWAHHCommandRelease(pCmd); 961 967 } … … 973 979 { 974 980 int rc = vbvaVHWAHHCommandPost(pVGAState, pCmd); 975 Assert (RT_SUCCESS(rc));981 AssertRC(rc); 976 982 if(RT_SUCCESS(rc)) 977 983 { 978 984 rc = pCmd->rc; 979 Assert (RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED);985 AssertMsg(RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED, ("%Rrc\n", rc)); 980 986 vbvaVHWAHHCommandRelease(pCmd); 981 987 if(rc == VERR_NOT_IMPLEMENTED) … … 1016 1022 HGSMI_CH_VBVA, 1017 1023 VBVAHG_EVENT); 1018 Assert (RT_SUCCESS(rc));1024 AssertRC(rc); 1019 1025 if(RT_SUCCESS(rc)) 1020 1026 { … … 1037 1043 HGSMI_CH_VBVA, 1038 1044 VBVAHG_DISPLAY_CUSTOM); 1039 Assert (RT_SUCCESS(rc));1045 AssertRC(rc); 1040 1046 if(RT_SUCCESS(rc)) 1041 1047 { … … 1056 1062 { 1057 1063 rc = HGSMIHostCommandProcessAndFreeAsynch(pIns, pHostCmd, (pCmd->Flags & VBOXVHWACMD_FLAG_GH_ASYNCH_IRQ) != 0); 1058 Assert (RT_SUCCESS(rc));1064 AssertRC(rc); 1059 1065 if(RT_SUCCESS(rc)) 1060 1066 {
Note:
See TracChangeset
for help on using the changeset viewer.