VirtualBox

Changeset 58535 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Oct 30, 2015 1:51:27 PM (9 years ago)
Author:
vboxsync
Message:

REMR3EmulateInstruction: Corrected assertion.

File:
1 edited

Legend:

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

    r58396 r58535  
    796796     */
    797797    interrupt_request = pVM->rem.s.Env.interrupt_request;
    798     Assert(!(interrupt_request & ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER  | CPU_INTERRUPT_EXTERNAL_HARD | CPU_INTERRUPT_EXTERNAL_EXIT | CPU_INTERRUPT_EXTERNAL_FLUSH_TLB | CPU_INTERRUPT_EXTERNAL_TIMER)));
     798    Assert(!(interrupt_request & ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER | CPU_INTERRUPT_EXTERNAL_HARD | CPU_INTERRUPT_EXTERNAL_EXIT | CPU_INTERRUPT_EXTERNAL_FLUSH_TLB | CPU_INTERRUPT_EXTERNAL_TIMER)));
    799799    pVM->rem.s.Env.interrupt_request = 0;
    800800    cpu_single_step(&pVM->rem.s.Env, 1);
     
    936936    {
    937937        int interrupt_request = pVM->rem.s.Env.interrupt_request;
    938         Assert(!(interrupt_request & ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB | CPU_INTERRUPT_TIMER | CPU_INTERRUPT_EXTERNAL_HARD | CPU_INTERRUPT_EXTERNAL_EXIT | CPU_INTERRUPT_EXTERNAL_FLUSH_TLB | CPU_INTERRUPT_EXTERNAL_TIMER)));
     938        /* Ignore CPU_INTERRUPT_HARD as it only reflects FF. */
     939        /* Ignore CPU_INTERRUPT_TIMER as it doesn't seem to be set anywhere anymore and would reflect a FF. */
     940        /* Ignore CPU_INTERRUPT_EXTERNAL_HARD as it is subject to races and reflects a FF. */
     941        /* Ignore CPU_INTERRUPT_EXTERNAL_TIMER as it is subject to races and reflects a FF. */
     942        /* Ignore CPU_INTERRUPT_EXTERNAL_EXIT as it is subject to races and reflects one or more FFs. */
     943        Assert(!(interrupt_request & ~(/*CPU_INTERRUPT_HARD |*/ CPU_INTERRUPT_EXITTB /*| CPU_INTERRUPT_TIMER | CPU_INTERRUPT_EXTERNAL_HARD | CPU_INTERRUPT_EXTERNAL_EXIT*/ | CPU_INTERRUPT_EXTERNAL_FLUSH_TLB /*| CPU_INTERRUPT_EXTERNAL_TIMER*/)));
    939944#ifdef REM_USE_QEMU_SINGLE_STEP_FOR_LOGGING
    940945        cpu_single_step(&pVM->rem.s.Env, 0);
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