VirtualBox

vbox的更動 15605 路徑 trunk/src/recompiler_new


忽略:
時間撮記:
2008-12-16 下午07:54:21 (16 年 以前)
作者:
vboxsync
訊息:

#3281: Making #undef HWACCM_VMX_EMULATE_REALMODE work again, looks like the Windows XP hacks doesn't work and that VT-x doesn't like esp >= ss.limit. Make sure we update the limit and everything else in that case.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r15300 r15605  
    10351035        Ctx.idtr.pIdt      = env->idt.base;
    10361036
     1037        Ctx.gdtr.cbGdt     = env->gdt.limit;
     1038        Ctx.gdtr.pGdt      = env->gdt.base;
     1039
     1040        Ctx.rsp            = env->regs[R_ESP];
     1041#ifdef LOG_ENABLED
     1042        Ctx.rip            = env->eip;
     1043#endif
     1044
    10371045        Ctx.eflags.u32     = env->eflags;
    10381046
     
    13771385    if (!fGlobal && !(env->cr[4] & X86_CR4_PGE))
    13781386        fGlobal = true;
    1379     Log(("remR3FlushTLB: CR0=%RGr CR3=%RGr CR4=%RGr %s\n", env->cr[0], env->cr[3], env->cr[4], fGlobal ? " global" : ""));
     1387    Log(("remR3FlushTLB: CR0=%08RX64 CR3=%08RX64 CR4=%08RX64 %s\n", (uint64_t)env->cr[0], (uint64_t)env->cr[3], (uint64_t)env->cr[4], fGlobal ? " global" : ""));
    13801388
    13811389    /*
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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