VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:34:43 AM (16 years ago)
Author:
vboxsync
Message:

s/VBOX_SUCCESS/RT_SUCCESS/g s/VBOX_FAILURE/RT_FAILURE/g - VBOX_SUCCESS and VBOX_FAILURE have *NOT* been retired (because old habbits die hard) just sligtly deprecated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMGuest.cpp

    r13144 r13835  
    112112    lpfnKiFastSystemCall = pInstrGC - 2;
    113113    rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, lpfnKiFastSystemCall, sizeof(uFnKiFastSystemCall));
    114     if (    VBOX_FAILURE(rc)
     114    if (    RT_FAILURE(rc)
    115115        ||  memcmp(uFnKiFastSystemCall, uTemp, sizeof(uFnKiFastSystemCall)))
    116116    {
     
    122122    {
    123123        rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, pInstrGC + i, sizeof(uFnKiIntSystemCall));
    124         if(VBOX_FAILURE(rc))
     124        if(RT_FAILURE(rc))
    125125        {
    126126            break;
     
    153153    *(RTGCPTR32 *)&uTemp[1] = lpfnKiIntSystemCall - (pInstrGC + SIZEOF_NEARJUMP32);
    154154    rc = PGMPhysSimpleDirtyWriteGCPtr(pVM, pInstrGC, uTemp, SIZEOF_NEARJUMP32);
    155     if (VBOX_FAILURE(rc))
     155    if (RT_FAILURE(rc))
    156156    {
    157157        Log(("MMR3PhysWriteGCVirt failed with rc=%d!!\n", rc));
     
    190190
    191191    rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, pInstrGC, RT_MAX(sizeof(uFnOpenBSDHandlerPrefix1), sizeof(uFnOpenBSDHandlerPrefix2)));
    192     if (    VBOX_FAILURE(rc)
     192    if (    RT_FAILURE(rc)
    193193        || (    memcmp(uFnOpenBSDHandlerPrefix1, uTemp, sizeof(uFnOpenBSDHandlerPrefix1))
    194194            &&  memcmp(uFnOpenBSDHandlerPrefix2, uTemp, sizeof(uFnOpenBSDHandlerPrefix2))))
     
    224224
    225225        rc = PATMPatchSysenterXP(pVM, pInstrGC, pPatchRec);
    226         if (VBOX_FAILURE(rc))
     226        if (RT_FAILURE(rc))
    227227        {
    228228            return VERR_PATCHING_REFUSED;
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