Changeset 19032 in vbox for trunk/src/recompiler_new
- Timestamp:
- Apr 20, 2009 3:03:08 PM (16 years ago)
- Location:
- trunk/src/recompiler_new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/VBoxREMWrapper.cpp
r19015 r19032 1161 1161 { "STAMR3Register", (void *)(uintptr_t)&STAMR3Register, &g_aArgsSTAMR3Register[0], RT_ELEMENTS(g_aArgsSTAMR3Register), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1162 1162 { "STAMR3Deregister", (void *)(uintptr_t)&STAMR3Deregister, &g_aArgsSTAMR3Deregister[0], RT_ELEMENTS(g_aArgsSTAMR3Deregister), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1163 { "TMCpuTickGet", (void *)(uintptr_t)&TMCpuTickGet, &g_aArgsVM [0], RT_ELEMENTS(g_aArgsVM),REMFNDESC_FLAGS_RET_INT, sizeof(uint64_t), NULL },1164 { "TMCpuTickPause", (void *)(uintptr_t)&TMCpuTickPause, &g_aArgsVM [0], RT_ELEMENTS(g_aArgsVM),REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL },1165 { "TMCpuTickResume", (void *)(uintptr_t)&TMCpuTickResume, &g_aArgsVM [0], RT_ELEMENTS(g_aArgsVM),REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL },1166 { "TMNotifyEndOfExecution", (void *)(uintptr_t)&TMNotifyEndOfExecution, &g_aArgsVM [0], RT_ELEMENTS(g_aArgsVM),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1167 { "TMNotifyStartOfExecution", (void *)(uintptr_t)&TMNotifyStartOfExecution, &g_aArgsVM [0], RT_ELEMENTS(g_aArgsVM),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1163 { "TMCpuTickGet", (void *)(uintptr_t)&TMCpuTickGet, &g_aArgsVMCPU[0], RT_ELEMENTS(g_aArgsVMCPU), REMFNDESC_FLAGS_RET_INT, sizeof(uint64_t), NULL }, 1164 { "TMCpuTickPause", (void *)(uintptr_t)&TMCpuTickPause, &g_aArgsVMCPU[0], RT_ELEMENTS(g_aArgsVMCPU), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1165 { "TMCpuTickResume", (void *)(uintptr_t)&TMCpuTickResume, &g_aArgsVMCPU[0], RT_ELEMENTS(g_aArgsVMCPU), REMFNDESC_FLAGS_RET_INT, sizeof(int), NULL }, 1166 { "TMNotifyEndOfExecution", (void *)(uintptr_t)&TMNotifyEndOfExecution, &g_aArgsVMCPU[0], RT_ELEMENTS(g_aArgsVMCPU), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1167 { "TMNotifyStartOfExecution", (void *)(uintptr_t)&TMNotifyStartOfExecution, &g_aArgsVMCPU[0], RT_ELEMENTS(g_aArgsVMCPU), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1168 1168 { "TMTimerPoll", (void *)(uintptr_t)&TMTimerPoll, &g_aArgsVM[0], RT_ELEMENTS(g_aArgsVM), REMFNDESC_FLAGS_RET_INT, sizeof(uint64_t), NULL }, 1169 1169 { "TMR3TimerQueuesDo", (void *)(uintptr_t)&TMR3TimerQueuesDo, &g_aArgsVM[0], RT_ELEMENTS(g_aArgsVM), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, -
trunk/src/recompiler_new/VBoxRecompiler.c
r19015 r19032 795 795 if (rc == EXCP_DEBUG) 796 796 { 797 TMCpuTickResume(pV M);798 TMCpuTickPause(pV M);797 TMCpuTickResume(pVCpu); 798 TMCpuTickPause(pVCpu); 799 799 TMVirtualResume(pVM); 800 800 TMVirtualPause(pVM); … … 924 924 * Now we set the execute single instruction flag and enter the cpu_exec loop. 925 925 */ 926 TMNotifyStartOfExecution(pV M);926 TMNotifyStartOfExecution(pVCpu); 927 927 pVM->rem.s.Env.interrupt_request = CPU_INTERRUPT_SINGLE_INSTR; 928 928 rc = cpu_exec(&pVM->rem.s.Env); 929 TMNotifyEndOfExecution(pV M);929 TMNotifyEndOfExecution(pVCpu); 930 930 switch (rc) 931 931 { … … 1051 1051 Assert(pVM->rem.s.fInREM); 1052 1052 1053 TMNotifyStartOfExecution(pV M);1053 TMNotifyStartOfExecution(pVCpu); 1054 1054 rc = cpu_exec(&pVM->rem.s.Env); 1055 TMNotifyEndOfExecution(pV M);1055 TMNotifyEndOfExecution(pVCpu); 1056 1056 switch (rc) 1057 1057 { … … 3995 3995 { 3996 3996 STAM_COUNTER_INC(&gStatCpuGetTSC); 3997 return TMCpuTickGet(env->pV M);3997 return TMCpuTickGet(env->pVCpu); 3998 3998 } 3999 3999
Note:
See TracChangeset
for help on using the changeset viewer.