VirtualBox

Ignore:
Timestamp:
Nov 23, 2011 7:30:29 PM (13 years ago)
Author:
vboxsync
Message:

VMM: Don't use generic IPE status codes, use specific ones. Part 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFReg.cpp

    r39078 r39405  
    10451045                        break;
    10461046                    default:
    1047                         AssertMsgFailedReturn(("%s %d\n", pDesc->pszName, pDesc->enmType), VERR_INTERNAL_ERROR_3);
     1047                        AssertMsgFailedReturn(("%s %d\n", pDesc->pszName, pDesc->enmType), VERR_IPE_NOT_REACHED_DEFAULT_CASE);
    10481048                }
    10491049            }
     
    18731873            ssize_t cch = RTStrFormatU64(pszTmp, cbTmp, pValue->dtr.u64Base,
    18741874                                         16, 2+16, 0, RTSTR_F_SPECIAL | RTSTR_F_ZEROPAD);
    1875             AssertReturn(cch > 0, VERR_INTERNAL_ERROR_4);
     1875            AssertReturn(cch > 0, VERR_DBGF_REG_IPE_1);
    18761876            pszTmp[cch++] = ':';
    18771877            cch += RTStrFormatU64(&pszTmp[cch], cbTmp - cch, pValue->dtr.u32Limit,
     
    18881888
    18891889    RTStrPrintf(pszTmp, cbTmp, "!enmType=%d!", enmType);
    1890     return VERR_INTERNAL_ERROR_5;
     1890    return VERR_DBGF_REG_IPE_2;
    18911891}
    18921892
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