VirtualBox

Changeset 36794 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Apr 21, 2011 3:02:34 PM (14 years ago)
Author:
vboxsync
Message:

IEM: Verify I/O port read and writes as well as MMIO accesses. Implemented some more instructions, getting thru the BIOS now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r36490 r36794  
    14071407    uint32_t u32CR0;
    14081408
     1409#ifdef IEM_VERIFICATION_MODE
     1410    return false;
     1411#endif
     1412
    14091413    /* Update counter. */
    14101414    env->pVM->rem.s.cCanExecuteRaw++;
     
    41714175REMR3DECL(void) REMR3NotifyInterruptSet(PVM pVM, PVMCPU pVCpu)
    41724176{
     4177#ifndef IEM_VERIFICATION_MODE
    41734178    LogFlow(("REMR3NotifyInterruptSet: fInRem=%d interrupts %s\n", pVM->rem.s.fInREM,
    41744179             (pVM->rem.s.Env.eflags & IF_MASK) && !(pVM->rem.s.Env.hflags & HF_INHIBIT_IRQ_MASK) ? "enabled" : "disabled"));
     
    41784183                       CPU_INTERRUPT_EXTERNAL_HARD);
    41794184    }
     4185#endif
    41804186}
    41814187
     
    42084214REMR3DECL(void) REMR3NotifyTimerPending(PVM pVM, PVMCPU pVCpuDst)
    42094215{
     4216#ifndef IEM_VERIFICATION_MODE
    42104217#ifndef DEBUG_bird
    42114218    LogFlow(("REMR3NotifyTimerPending: fInRem=%d\n", pVM->rem.s.fInREM));
     
    42244231    else
    42254232        LogIt(LOG_INSTANCE, RTLOGGRPFLAGS_LEVEL_5, LOG_GROUP_TM, ("REMR3NotifyTimerPending: !fInREM; cpu state=%d\n", VMCPU_GET_STATE(pVCpuDst)));
     4233#endif
    42264234}
    42274235
     
    42354243REMR3DECL(void) REMR3NotifyDmaPending(PVM pVM)
    42364244{
     4245#ifndef IEM_VERIFICATION_MODE
    42374246    LogFlow(("REMR3NotifyDmaPending: fInRem=%d\n", pVM->rem.s.fInREM));
    42384247    if (pVM->rem.s.fInREM)
     
    42414250                       CPU_INTERRUPT_EXTERNAL_DMA);
    42424251    }
     4252#endif
    42434253}
    42444254
     
    42524262REMR3DECL(void) REMR3NotifyQueuePending(PVM pVM)
    42534263{
     4264#ifndef IEM_VERIFICATION_MODE
    42544265    LogFlow(("REMR3NotifyQueuePending: fInRem=%d\n", pVM->rem.s.fInREM));
    42554266    if (pVM->rem.s.fInREM)
     
    42584269                       CPU_INTERRUPT_EXTERNAL_EXIT);
    42594270    }
     4271#endif
    42604272}
    42614273
     
    42694281REMR3DECL(void) REMR3NotifyFF(PVM pVM)
    42704282{
     4283#ifndef IEM_VERIFICATION_MODE
    42714284    LogFlow(("REMR3NotifyFF: fInRem=%d\n", pVM->rem.s.fInREM));
    42724285    if (pVM->rem.s.fInREM)
     
    42754288                       CPU_INTERRUPT_EXTERNAL_EXIT);
    42764289    }
     4290#endif
    42774291}
    42784292
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