VirtualBox

Changeset 154 in vbox


Ignore:
Timestamp:
Jan 18, 2007 5:32:56 PM (18 years ago)
Author:
vboxsync
Message:

Minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/VMMAll/PATMAll.cpp

    r134 r154  
    473473    if (CTXSUFF(pVM->patm.s.pGCState)->uPendingAction)
    474474    {
    475         Log(("PATMHandleIllegalInstrTrap: Pending action %x at %VGv\n", CTXSUFF(pVM->patm.s.pGCState)->uPendingAction, pRegFrame->eip));
     475        LogFlow(("PATMGC: Pending action %x at %VGv\n", CTXSUFF(pVM->patm.s.pGCState)->uPendingAction, pRegFrame->eip));
    476476
    477477        /* Private PATM interface (@todo hack due to lack of anything generic). */
     
    496496                AssertMsg(!pRegFrame->edi || PATMIsPatchGCAddr(pVM, (RTGCPTR)pRegFrame->edi), ("edx = %VGv\n", pRegFrame->edi));
    497497
    498                 Log(("PATMHandleIllegalInstrTrap: lookup %VGv jump table=%VGv\n", pRegFrame->edx, pRegFrame->edi));
     498                Log(("PATMGC: lookup %VGv jump table=%VGv\n", pRegFrame->edx, pRegFrame->edi));
    499499
    500500                pRec = PATMQueryFunctionPatch(pVM, (RTGCPTR)(pRegFrame->edx));
     
    533533                 *  edi = GC address to jump to
    534534                 */
    535                 Log(("PATMHandleIllegalInstrTrap: Dispatch pending interrupt; eip=%VGv->%VGv\n", pRegFrame->eip, pRegFrame->edi));
     535                Log(("PATMGC: Dispatch pending interrupt; eip=%VGv->%VGv\n", pRegFrame->eip, pRegFrame->edi));
    536536
    537537                /* Change EIP to the guest address the patch would normally jump to after setting IF. */
     
    556556#ifdef DEBUG
    557557            case PATM_ACTION_LOG_CLI:
    558                 Log(("PATMHandleIllegalInstrTrap: CLI at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
     558                Log(("PATMGC: CLI at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
    559559                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    560560                return VINF_SUCCESS;
    561561
    562562            case PATM_ACTION_LOG_STI:
    563                 Log(("PATMHandleIllegalInstrTrap: STI at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
     563                Log(("PATMGC: STI at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
    564564                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    565565                return VINF_SUCCESS;
    566566
    567567            case PATM_ACTION_LOG_POPF_IF1:
    568                 Log(("PATMHandleIllegalInstrTrap: POPF setting IF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
     568                Log(("PATMGC: POPF setting IF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
    569569                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    570570                return VINF_SUCCESS;
    571571
    572572            case PATM_ACTION_LOG_POPF_IF0:
    573                 Log(("PATMHandleIllegalInstrTrap: POPF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
     573                Log(("PATMGC: POPF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
    574574                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    575575                return VINF_SUCCESS;
    576576
    577577            case PATM_ACTION_LOG_PUSHF:
    578                 Log(("PATMHandleIllegalInstrTrap: PUSHF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
     578                Log(("PATMGC: PUSHF at %VGv (current IF=%d)\n", pRegFrame->eip, !!(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags & X86_EFL_IF) ));
    579579                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    580580                return VINF_SUCCESS;
    581581
    582582            case PATM_ACTION_LOG_IF1:
    583                 Log(("PATMHandleIllegalInstrTrap: IF=1 escape from %VGv\n", pRegFrame->eip));
     583                Log(("PATMGC: IF=1 escape from %VGv\n", pRegFrame->eip));
    584584                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    585585                return VINF_SUCCESS;
    586586
    587587            case PATM_ACTION_LOG_IRET:
    588                 Log(("PATMHandleIllegalInstrTrap: IRET from %VGv (IF->1) to %VGv new eflags=%x\n", pRegFrame->eip, pRegFrame->edx, pVM->patm.s.CTXSUFF(pGCState)->uVMFlags));
     588                Log(("PATMGC: IRET from %VGv (IF->1) to %VGv new eflags=%x\n", pRegFrame->eip, pRegFrame->edx, pVM->patm.s.CTXSUFF(pGCState)->uVMFlags));
    589589                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    590590                return VINF_SUCCESS;
    591591
    592592            case PATM_ACTION_LOG_RET:
    593                 Log(("PATMHandleIllegalInstrTrap: RET to %VGv\n", pRegFrame->edx));
     593                Log(("PATMGC: RET to %VGv\n", pRegFrame->edx));
    594594                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    595595                return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

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