VirtualBox

Ignore:
Timestamp:
Nov 4, 2008 10:52:12 PM (16 years ago)
Author:
vboxsync
Message:

VMM: VBOX_SUCCESS -> RT_SUCCESS, VBOX_FAILURE -> RT_FAILURE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/SELMGC.cpp

    r13577 r13816  
    6666    X86DESC Desc;
    6767    int rc = MMGCRamRead(pVM, &Desc, (uint8_t *)GdtrGuest.pGdt + offEntry, sizeof(X86DESC));
    68     if (VBOX_FAILURE(rc))
     68    if (RT_FAILURE(rc))
    6969        return VINF_EM_RAW_EMULATE_INSTR_GDT_FAULT;
    7070
     
    201201        uint32_t cb;
    202202        rc = EMInterpretInstruction(pVM, pRegFrame, (RTGCPTR)(RTRCUINTPTR)pvFault, &cb);
    203         if (VBOX_SUCCESS(rc) && cb)
     203        if (RT_SUCCESS(rc) && cb)
    204204        {
    205205            unsigned iGDTE1 = offRange / sizeof(X86DESC);
     
    217217                }
    218218            }
    219             if (rc == VINF_SUCCESS || VBOX_FAILURE(rc2))
     219            if (rc == VINF_SUCCESS || RT_FAILURE(rc2))
    220220                rc = rc2;
    221221        }
    222222        else
    223223        {
    224             Assert(VBOX_FAILURE(rc));
     224            Assert(RT_FAILURE(rc));
    225225            if (rc == VERR_EM_INTERPRETER)
    226226                rc = VINF_EM_RAW_EMULATE_INSTR_GDT_FAULT;
     
    287287    uint32_t cb;
    288288    int rc = EMInterpretInstruction(pVM, pRegFrame, (RTGCPTR)(RTRCUINTPTR)pvFault, &cb);
    289     if (VBOX_SUCCESS(rc) && cb)
     289    if (RT_SUCCESS(rc) && cb)
    290290    {
    291291        PCVBOXTSS pGuestTSS = (PVBOXTSS)pVM->selm.s.GCPtrGuestTss;
     
    313313                {
    314314                    rc = MMGCRamRead(pVM, &pVM->selm.s.Tss.IntRedirBitmap[i * 8], (uint8_t *)pGuestTSS + offIntRedirBitmap + i * 8, 8);
    315                     if (VBOX_FAILURE(rc))
     315                    if (RT_FAILURE(rc))
    316316                    {
    317317                        /* Shadow page table might be out of sync */
    318318                        rc = PGMPrefetchPage(pVM, (RTGCPTR)(RTRCUINTPTR)((uint8_t *)pGuestTSS + offIntRedirBitmap + i*8));
    319                         if (VBOX_FAILURE(rc))
     319                        if (RT_FAILURE(rc))
    320320                        {
    321321                            AssertMsg(rc == VINF_SUCCESS, ("PGMPrefetchPage %VGv failed with %Vrc\n", (uint8_t *)pGuestTSS + offIntRedirBitmap + i*8, rc));
     
    333333    else
    334334    {
    335         Assert(VBOX_FAILURE(rc));
     335        Assert(RT_FAILURE(rc));
    336336        VM_FF_SET(pVM, VM_FF_SELM_SYNC_TSS);
    337337        STAM_COUNTER_INC(&pVM->selm.s.StatRCWriteGuestTSSUnhandled);
     
    427427#endif
    428428
    429         if (VBOX_FAILURE(rc))
     429        if (RT_FAILURE(rc))
    430430        {
    431431            if (!fTriedAlready)
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