From 16a2357e8637fed706a94ab0da6226df8a2e7f07 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Fri, 1 Jul 2005 15:10:18 -0400 Subject: . --HG-- extra : convert_revision : 1ed206b27498641b64d7f35c74ea1f0623398d4e --- kern/freebsd/freebsd_system.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern') diff --git a/kern/freebsd/freebsd_system.cc b/kern/freebsd/freebsd_system.cc index d7d32cc66..a902b0706 100644 --- a/kern/freebsd/freebsd_system.cc +++ b/kern/freebsd/freebsd_system.cc @@ -93,8 +93,8 @@ FreebsdSystem::doCalibrateClocks(ExecContext *xc) uint8_t *ppc = physmem->dma_addr(ppc_paddr, sizeof(uint32_t)); uint8_t *timer = physmem->dma_addr(timer_paddr, sizeof(uint32_t)); - *(uint32_t *)ppc = 2000000000; - *(uint32_t *)timer = 1193180; + *(uint32_t *)ppc = htoa((uint32_t)2000000000); + *(uint32_t *)timer = htoa((uint32_t)1193180); } -- cgit v1.2.3