VirtualBox

Changeset 25958 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jan 21, 2010 1:50:20 PM (15 years ago)
Author:
vboxsync
Message:

REMNotifyInvalidatePage never rails; drop the return code

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r25935 r25958  
    711711    /*
    712712     * Notify the recompiler so it can record this instruction.
    713      * Failure happens when it's out of space. We'll return to HC in that case.
    714      */
    715     rc = REMNotifyInvalidatePage(pVM, GCPtrPage);
    716     if (rc != VINF_SUCCESS)
    717         return rc;
     713     */
     714    REMNotifyInvalidatePage(pVM, GCPtrPage);
    718715#endif /* !IN_RING3 */
    719716
  • trunk/src/VBox/VMM/VMMAll/REMAll.cpp

    r25576 r25958  
    4141 * Records a invlpg instruction for replaying upon REM entry.
    4242 *
    43  * @returns VINF_SUCCESS on success.
    4443 * @param   pVM         The VM handle.
    4544 * @param   GCPtrPage   The
    4645 */
    47 VMMDECL(int) REMNotifyInvalidatePage(PVM pVM, RTGCPTR GCPtrPage)
     46VMMDECL(void) REMNotifyInvalidatePage(PVM pVM, RTGCPTR GCPtrPage)
    4847{
    4948    /*
     
    6059
    6160            EMRemUnlock(pVM);
    62             return VINF_SUCCESS;
     61            return;
    6362        }
    6463
     
    7574    }
    7675
    77     return VINF_SUCCESS;
     76    return;
    7877}
    7978
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