VirtualBox

Changeset 318 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 25, 2007 4:53:59 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17868
Message:

rcGC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r278 r318  
    8181static int emR3RawForcedActions(PVM pVM, PCPUMCTX pCtx);
    8282static int emR3RawExecute(PVM pVM, bool *pfFFDone);
    83 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int gcret = VINF_SUCCESS);
     83DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int rcGC = VINF_SUCCESS);
    8484static int emR3HighPriorityPostForcedActions(PVM pVM, int rc);
    8585static int emR3ForcedActions(PVM pVM, int rc);
     
    950950 *
    951951 * @param   pVM         VM handle.
    952  * @param   gcret       GC return code
     952 * @param   rcGC        GC return code
    953953 * @param   pszPrefix   Disassembly prefix. If not NULL we'll disassemble the
    954954 *                      instruction and prefix the log output with this text.
    955955 */
    956956#ifdef LOG_ENABLED
    957 static int emR3RawExecuteInstructionWorker(PVM pVM, int gcret, const char *pszPrefix)
     957static int emR3RawExecuteInstructionWorker(PVM pVM, int rcGC, const char *pszPrefix)
    958958#else
    959 static int emR3RawExecuteInstructionWorker(PVM pVM, int gcret)
     959static int emR3RawExecuteInstructionWorker(PVM pVM, int rcGC)
    960960#endif
    961961{
     
    10181018                }
    10191019#if 0 /** @note no noticable change; revisit later when we can emulate iret ourselves. */
    1020                 else
    1021                 if (gcret == VINF_PATM_PENDING_IRQ_AFTER_IRET)
     1020                else if (rcGC == VINF_PATM_PENDING_IRQ_AFTER_IRET)
    10221021                {
    10231022                    /* special case: iret, that sets IF,  detected a pending irq/event */
     
    11111110 * @param   pszPrefix   Disassembly prefix. If not NULL we'll disassemble the
    11121111 *                      instruction and prefix the log output with this text.
    1113  * @param   gcret       GC return code
     1112 * @param   rcGC        GC return code
    11141113 */
    1115 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int gcret)
     1114DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int rcGC)
    11161115{
    11171116#ifdef LOG_ENABLED
    1118     return emR3RawExecuteInstructionWorker(pVM, gcret, pszPrefix);
     1117    return emR3RawExecuteInstructionWorker(pVM, rcGC, pszPrefix);
    11191118#else
    1120     return emR3RawExecuteInstructionWorker(pVM, gcret);
     1119    return emR3RawExecuteInstructionWorker(pVM, rcGC);
    11211120#endif
    11221121}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette