mirror of https://gitee.com/openkylin/qemu.git
Remove unneeded qemu_irq_lower (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4015 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7e8c2b6ca8
commit
389d4a259c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue