aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-10 23:19:18 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-10 23:19:18 +0000
commit8adbc566c9f2924c97a0953682ceb6ab57b78b47 (patch)
treed9d852cfe1ceb4708daad10d0a169331a0a8f803 /hw
parent5327cf489fcaefd0b64dbd13e6b26e91054a701c (diff)
downloadqemu-8adbc566c9f2924c97a0953682ceb6ab57b78b47.zip
qemu-8adbc566c9f2924c97a0953682ceb6ab57b78b47.tar.gz
qemu-8adbc566c9f2924c97a0953682ceb6ab57b78b47.tar.bz2
typo
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1211 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/openpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openpic.c b/hw/openpic.c
index d193cfe..ad9db7b 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -629,7 +629,7 @@ static void openpic_timer_write (void *opaque, uint32_t addr, uint32_t val)
break;
case 0x10: /* TIBC */
if ((opp->timers[idx].ticc & 0x80000000) != 0 &&
- (val & 0x800000000) == 0 &&
+ (val & 0x80000000) == 0 &&
(opp->timers[idx].tibc & 0x80000000) != 0)
opp->timers[idx].ticc &= ~0x80000000;
opp->timers[idx].tibc = val;