aboutsummaryrefslogtreecommitdiff
path: root/hw/hpet.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-07-05 18:28:03 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 20:00:26 +0000
commit8517263fcbf2182ce97e3335f2a20b52d4e33fce (patch)
treef08e2b50318e963cedb493a5e24f5c058ebd860e /hw/hpet.c
parent1e78bcc19c60c60c11ece020ab35952b5b2895ec (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.c2
1 files changed, 1 insertions, 1 deletions
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]);