diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 19:47:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 19:47:02 +0000 |
commit | a702b35388c307ce2364691e2edc14094701c81e (patch) | |
tree | 1e68eb85efddd09fc3a87f970487c3ce8a09f747 /hw/slavio_timer.c | |
parent | 1e4146791b46f0a798589c58a09f18b2841a9212 (diff) | |
download | qemu-a702b35388c307ce2364691e2edc14094701c81e.zip qemu-a702b35388c307ce2364691e2edc14094701c81e.tar.gz qemu-a702b35388c307ce2364691e2edc14094701c81e.tar.bz2 |
fixed invalid constant
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3610 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_timer.c')
-rw-r--r-- | hw/slavio_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c index 1b17a3d..14fd402 100644 --- a/hw/slavio_timer.c +++ b/hw/slavio_timer.c @@ -125,7 +125,7 @@ static uint32_t slavio_timer_mem_readl(void *opaque, target_phys_addr_t addr) // of counter (user mode) slavio_timer_get_out(s); if (slavio_timer_is_user(s)) // read user timer LSW - ret = s->count & 0xffffffe00; + ret = s->count & 0xfffffe00; else // read limit ret = (s->count & 0x7ffffe00) | s->reached; break; |