projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d96be
)
Avoid decremented overflow.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 Jul 2008 15:31:50 +0000
(15:31 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 9 Jul 2008 15:31:50 +0000
(15:31 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4862
c046a42c
-6fe2-441c-8c8c-
71466251a162
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index 4f7a027d638e039854a67b6dd8dcb7d8d23495c2..5b43172f365c6b47f5da9ba71e72e5b21c1460ee 100644
(file)
--- a/
exec.c
+++ b/
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 = 0x
8000
;
+ env->icount_decr.u16.high = 0x
ffff
;
#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. */