vbox的更動 64626 路徑 trunk/src/recompiler
- 時間撮記:
- 2016-11-10 上午10:31:39 (8 年 以前)
- 位置:
- trunk/src/recompiler
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/recompiler/Makefile.kmk
r62534 r64626 70 70 ifdef IEM_VERIFICATION_MODE 71 71 VBoxRemPrimary_DEFS += IEM_VERIFICATION_MODE 72 endif73 ifdef VBOX_WITH_NEW_APIC74 VBoxRemPrimary_DEFS += VBOX_WITH_NEW_APIC75 72 endif 76 73 ifdef VBOX_WITH_RAW_MODE -
trunk/src/recompiler/VBoxREMWrapper.cpp
r63422 r64626 534 534 535 535 /* VMM args */ 536 #ifdef VBOX_WITH_NEW_APIC537 536 static const REMPARMDESC g_aArgsAPICUpdatePendingInterrupts[] = 538 537 { 539 538 { REMPARMDESC_FLAGS_INT, sizeof(PVMCPU), NULL } 540 539 }; 541 #endif542 540 static const REMPARMDESC g_aArgsCPUMGetGuestCpl[] = 543 541 { … … 1217 1215 static REMFNDESC g_aVMMImports[] = 1218 1216 { 1219 #ifdef VBOX_WITH_NEW_APIC1220 1217 { "APICUpdatePendingInterrupts", VMM_FN(APICUpdatePendingInterrupts), &g_aArgsAPICUpdatePendingInterrupts[0], RT_ELEMENTS(g_aArgsAPICUpdatePendingInterrupts), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1221 #endif1222 1218 { "CPUMR3RemEnter", VMM_FN(CPUMR3RemEnter), &g_aArgsCPUMR3RemEnter[0], RT_ELEMENTS(g_aArgsCPUMR3RemEnter), REMFNDESC_FLAGS_RET_INT, sizeof(uint32_t), NULL }, 1223 1219 { "CPUMR3RemLeave", VMM_FN(CPUMR3RemLeave), &g_aArgsCPUMR3RemLeave[0], RT_ELEMENTS(g_aArgsCPUMR3RemLeave), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, -
trunk/src/recompiler/VBoxRecompiler.c
r64533 r64626 51 51 #include <VBox/vmm/dbgf.h> 52 52 #include <VBox/dbg.h> 53 #ifdef VBOX_WITH_NEW_APIC 54 # include <VBox/vmm/apic.h> 55 #endif 53 #include <VBox/vmm/apic.h> 56 54 #include <VBox/vmm/hm.h> 57 55 #include <VBox/vmm/patm.h> … … 2535 2533 */ 2536 2534 pVM->rem.s.Env.interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER); 2537 #ifdef VBOX_WITH_NEW_APIC2538 2535 if (VMCPU_FF_TEST_AND_CLEAR(pVCpu, VMCPU_FF_UPDATE_APIC)) 2539 2536 APICUpdatePendingInterrupts(pVCpu); 2540 #endif2541 2537 if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 2542 2538 pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD; … … 4501 4497 int rc; 4502 4498 4503 #ifdef VBOX_WITH_NEW_APIC4504 4499 if (VMCPU_FF_TEST_AND_CLEAR(env->pVCpu, VMCPU_FF_UPDATE_APIC)) 4505 4500 APICUpdatePendingInterrupts(env->pVCpu); 4506 #endif4507 4501 4508 4502 /* When we fail to forward interrupts directly in raw mode, we fall back to the recompiler.
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器