VirtualBox

vbox的更動 64626 路徑 trunk/src/recompiler


忽略:
時間撮記:
2016-11-10 上午10:31:39 (8 年 以前)
作者:
vboxsync
訊息:

Recompiler, VMM, Devices: Purge the old APIC and the VBOX_WITH_NEW_APIC define.

位置:
trunk/src/recompiler
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/recompiler/Makefile.kmk

    r62534 r64626  
    7070ifdef IEM_VERIFICATION_MODE
    7171 VBoxRemPrimary_DEFS          += IEM_VERIFICATION_MODE
    72 endif
    73 ifdef VBOX_WITH_NEW_APIC
    74  VBoxRemPrimary_DEFS          += VBOX_WITH_NEW_APIC
    7572endif
    7673ifdef VBOX_WITH_RAW_MODE
  • trunk/src/recompiler/VBoxREMWrapper.cpp

    r63422 r64626  
    534534
    535535/* VMM args */
    536 #ifdef VBOX_WITH_NEW_APIC
    537536static const REMPARMDESC g_aArgsAPICUpdatePendingInterrupts[] =
    538537{
    539538    { REMPARMDESC_FLAGS_INT,        sizeof(PVMCPU),             NULL }
    540539};
    541 #endif
    542540static const REMPARMDESC g_aArgsCPUMGetGuestCpl[] =
    543541{
     
    12171215static REMFNDESC g_aVMMImports[] =
    12181216{
    1219 #ifdef VBOX_WITH_NEW_APIC
    12201217    { "APICUpdatePendingInterrupts",            VMM_FN(APICUpdatePendingInterrupts),    &g_aArgsAPICUpdatePendingInterrupts[0],     RT_ELEMENTS(g_aArgsAPICUpdatePendingInterrupts),       REMFNDESC_FLAGS_RET_VOID,   0,                  NULL },
    1221 #endif
    12221218    { "CPUMR3RemEnter",                         VMM_FN(CPUMR3RemEnter),                 &g_aArgsCPUMR3RemEnter[0],                  RT_ELEMENTS(g_aArgsCPUMR3RemEnter),                    REMFNDESC_FLAGS_RET_INT,    sizeof(uint32_t),   NULL },
    12231219    { "CPUMR3RemLeave",                         VMM_FN(CPUMR3RemLeave),                 &g_aArgsCPUMR3RemLeave[0],                  RT_ELEMENTS(g_aArgsCPUMR3RemLeave),                    REMFNDESC_FLAGS_RET_VOID,   0,                  NULL },
  • trunk/src/recompiler/VBoxRecompiler.c

    r64533 r64626  
    5151#include <VBox/vmm/dbgf.h>
    5252#include <VBox/dbg.h>
    53 #ifdef VBOX_WITH_NEW_APIC
    54 # include <VBox/vmm/apic.h>
    55 #endif
     53#include <VBox/vmm/apic.h>
    5654#include <VBox/vmm/hm.h>
    5755#include <VBox/vmm/patm.h>
     
    25352533     */
    25362534    pVM->rem.s.Env.interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER);
    2537 #ifdef VBOX_WITH_NEW_APIC
    25382535    if (VMCPU_FF_TEST_AND_CLEAR(pVCpu, VMCPU_FF_UPDATE_APIC))
    25392536        APICUpdatePendingInterrupts(pVCpu);
    2540 #endif
    25412537    if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))
    25422538        pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD;
     
    45014497    int     rc;
    45024498
    4503 #ifdef VBOX_WITH_NEW_APIC
    45044499    if (VMCPU_FF_TEST_AND_CLEAR(env->pVCpu, VMCPU_FF_UPDATE_APIC))
    45054500        APICUpdatePendingInterrupts(env->pVCpu);
    4506 #endif
    45074501
    45084502    /* When we fail to forward interrupts directly in raw mode, we fall back to the recompiler.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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