VirtualBox

Changeset 46420 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Jun 6, 2013 4:27:25 PM (11 years ago)
Author:
vboxsync
Message:

VMM, recompiler: Purge deprecated macros.

File:
1 edited

Legend:

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

    r46160 r46420  
    11491149        pVM->rem.s.Env.interrupt_request = CPU_INTERRUPT_SINGLE_INSTR;
    11501150#endif
    1151         if (   VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)
     1151        if (   VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)
    11521152            || pVM->rem.s.u32PendingInterrupt != REM_NO_PENDING_IRQ)
    11531153            pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD;
     
    11751175             */
    11761176            case EXCP_SINGLE_INSTR:
    1177                 if (   !VM_FF_ISPENDING(pVM, VM_FF_ALL_REM_MASK)
    1178                     && !VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))
     1177                if (   !VM_FF_IS_PENDING(pVM, VM_FF_ALL_REM_MASK)
     1178                    && !VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))
    11791179                    continue;
    11801180                RTLogPrintf("remR3RunLoggingStep: rc=VINF_SUCCESS w/ FFs (%#x/%#x)\n",
     
    12081208                if (rc == VINF_EM_DBG_STEPPED)
    12091209                {
    1210                     if (   !VM_FF_ISPENDING(pVM, VM_FF_ALL_REM_MASK)
    1211                         && !VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))
     1210                    if (   !VM_FF_IS_PENDING(pVM, VM_FF_ALL_REM_MASK)
     1211                        && !VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_ALL_REM_MASK))
    12121212                        continue;
    12131213
     
    22732273    /* Update the inhibit IRQ mask. */
    22742274    pVM->rem.s.Env.hflags &= ~HF_INHIBIT_IRQ_MASK;
    2275     if (VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))
     2275    if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))
    22762276    {
    22772277        RTGCPTR InhibitPC = EMGetInhibitInterruptsPC(pVCpu);
     
    25362536    pVM->rem.s.Env.interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER);
    25372537    if (    pVM->rem.s.u32PendingInterrupt != REM_NO_PENDING_IRQ
    2538         ||  VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))
     2538        ||  VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))
    25392539        pVM->rem.s.Env.interrupt_request |= CPU_INTERRUPT_HARD;
    25402540
     
    27632763        VMCPU_FF_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS);
    27642764    }
    2765     else if (VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))
     2765    else if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS))
    27662766    {
    27672767        Log(("Clearing VMCPU_FF_INHIBIT_INTERRUPTS at %RGv - successor %RGv (REM#2)\n", (RTGCPTR)pCtx->rip, EMGetInhibitInterruptsPC(pVCpu)));
     
    30623062
    30633063    /** @todo this isn't ensuring correct replay order. */
    3064     if (VM_FF_TESTANDCLEAR(pVM, VM_FF_REM_HANDLER_NOTIFY))
     3064    if (VM_FF_TEST_AND_CLEAR(pVM, VM_FF_REM_HANDLER_NOTIFY))
    30653065    {
    30663066        uint32_t    idxNext;
     
    45184518    if (RT_SUCCESS(rc))
    45194519    {
    4520         if (VMCPU_FF_ISPENDING(env->pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))
     4520        if (VMCPU_FF_IS_PENDING(env->pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))
    45214521            env->interrupt_request |= CPU_INTERRUPT_HARD;
    45224522        return u8Interrupt;
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