Changeset 318 in vbox for trunk/src/VBox
- Timestamp:
- Jan 25, 2007 4:53:59 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17868
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r278 r318 81 81 static int emR3RawForcedActions(PVM pVM, PCPUMCTX pCtx); 82 82 static int emR3RawExecute(PVM pVM, bool *pfFFDone); 83 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int gcret= VINF_SUCCESS);83 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int rcGC = VINF_SUCCESS); 84 84 static int emR3HighPriorityPostForcedActions(PVM pVM, int rc); 85 85 static int emR3ForcedActions(PVM pVM, int rc); … … 950 950 * 951 951 * @param pVM VM handle. 952 * @param gcretGC return code952 * @param rcGC GC return code 953 953 * @param pszPrefix Disassembly prefix. If not NULL we'll disassemble the 954 954 * instruction and prefix the log output with this text. 955 955 */ 956 956 #ifdef LOG_ENABLED 957 static int emR3RawExecuteInstructionWorker(PVM pVM, int gcret, const char *pszPrefix)957 static int emR3RawExecuteInstructionWorker(PVM pVM, int rcGC, const char *pszPrefix) 958 958 #else 959 static int emR3RawExecuteInstructionWorker(PVM pVM, int gcret)959 static int emR3RawExecuteInstructionWorker(PVM pVM, int rcGC) 960 960 #endif 961 961 { … … 1018 1018 } 1019 1019 #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) 1022 1021 { 1023 1022 /* special case: iret, that sets IF, detected a pending irq/event */ … … 1111 1110 * @param pszPrefix Disassembly prefix. If not NULL we'll disassemble the 1112 1111 * instruction and prefix the log output with this text. 1113 * @param gcretGC return code1112 * @param rcGC GC return code 1114 1113 */ 1115 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int gcret)1114 DECLINLINE(int) emR3RawExecuteInstruction(PVM pVM, const char *pszPrefix, int rcGC) 1116 1115 { 1117 1116 #ifdef LOG_ENABLED 1118 return emR3RawExecuteInstructionWorker(pVM, gcret, pszPrefix);1117 return emR3RawExecuteInstructionWorker(pVM, rcGC, pszPrefix); 1119 1118 #else 1120 return emR3RawExecuteInstructionWorker(pVM, gcret);1119 return emR3RawExecuteInstructionWorker(pVM, rcGC); 1121 1120 #endif 1122 1121 }
Note:
See TracChangeset
for help on using the changeset viewer.