From: Alexander Graf Date: Tue, 5 Jul 2011 16:28:03 +0000 (+0200) Subject: hpet: use specific endian ld/st_phys X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8517263fcbf2182ce97e3335f2a20b52d4e33fce;p=qemu.git hpet: use specific endian ld/st_phys Signed-off-by: Alexander Graf Signed-off-by: Blue Swirl --- diff --git a/hw/hpet.c b/hw/hpet.c index ef9a2a0cad..4eda33d900 100644 --- a/hw/hpet.c +++ b/hw/hpet.c @@ -192,7 +192,7 @@ static void update_irq(struct HPETTimer *timer, int set) qemu_irq_lower(s->irqs[route]); } } else if (timer_fsb_route(timer)) { - stl_phys(timer->fsb >> 32, timer->fsb & 0xffffffff); + stl_le_phys(timer->fsb >> 32, timer->fsb & 0xffffffff); } else if (timer->config & HPET_TN_TYPE_LEVEL) { s->isr |= mask; qemu_irq_raise(s->irqs[route]);