提交 389d4a25 编写于 作者: B blueswir1

Remove unneeded qemu_irq_lower (Robert Reif)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4015 c046a42c-6fe2-441c-8c8c-71466251a162
上级 7e8c2b6c
......@@ -192,7 +192,6 @@ static void slavio_timer_mem_writel(void *opaque, target_phys_addr_t addr,
uint64_t count;
// set user counter MSW, reset counter
qemu_irq_lower(s->irq);
s->limit = TIMER_MAX_COUNT64;
s->counthigh = val & (TIMER_MAX_COUNT64 >> 32);
s->reached = 0;
......@@ -218,7 +217,6 @@ static void slavio_timer_mem_writel(void *opaque, target_phys_addr_t addr,
uint64_t count;
// set user counter LSW, reset counter
qemu_irq_lower(s->irq);
s->limit = TIMER_MAX_COUNT64;
s->count = val & TIMER_MAX_COUNT64;
s->reached = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册