mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Avoid decremented overflow.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4862 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
b6d96beda3
commit
266910c434
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -1432,7 +1432,7 @@ void cpu_interrupt(CPUState *env, int mask)
|
|||
signals are used primarily to interrupt blocking syscalls. */
|
||||
#else
|
||||
if (use_icount) {
|
||||
env->icount_decr.u16.high = 0x8000;
|
||||
env->icount_decr.u16.high = 0xffff;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
/* CPU_INTERRUPT_EXIT isn't a real interrupt. It just means
|
||||
an async event happened and we need to process it. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue