diff options
author | Alexander Graf <agraf@suse.de> | 2011-07-05 18:28:03 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-07-12 20:00:26 +0000 |
commit | 8517263fcbf2182ce97e3335f2a20b52d4e33fce (patch) | |
tree | f08e2b50318e963cedb493a5e24f5c058ebd860e /hw/hpet.c | |
parent | 1e78bcc19c60c60c11ece020ab35952b5b2895ec (diff) |
hpet: use specific endian ld/st_phys
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/hpet.c')
-rw-r--r-- | hw/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); |