Changeset 36171 in vbox for trunk/src/recompiler/exec.c
- Timestamp:
- Mar 4, 2011 1:25:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/exec.c
r36170 r36171 669 669 qemu_get_be32s(f, &env->halted); 670 670 qemu_get_be32s(f, &env->interrupt_request); 671 env->interrupt_request &= ~CPU_INTERRUPT_EXIT; 671 672 tlb_flush(env, 1); 672 673 … … 1735 1736 int old_mask; 1736 1737 1738 if (mask & CPU_INTERRUPT_EXIT) { 1739 env->exit_request = 1; 1740 mask &= ~CPU_INTERRUPT_EXIT; 1741 } 1742 1737 1743 old_mask = env->interrupt_request; 1738 1744 #ifdef VBOX … … 1753 1759 env->icount_decr.u16.high = 0xffff; 1754 1760 #ifndef CONFIG_USER_ONLY 1755 /* CPU_INTERRUPT_EXIT isn't a real interrupt. It just means1756 an async event happened and we need to process it. */1757 1761 if (!can_do_io(env) 1758 && (mask & ~ (old_mask | CPU_INTERRUPT_EXIT)) != 0) {1762 && (mask & ~old_mask) != 0) { 1759 1763 cpu_abort(env, "Raised interrupt while not in I/O function"); 1760 1764 }
Note:
See TracChangeset
for help on using the changeset viewer.