diff options
author | Miguel Serrano <mserrano@umich.edu> | 2005-07-01 15:10:18 -0400 |
---|---|---|
committer | Miguel Serrano <mserrano@umich.edu> | 2005-07-01 15:10:18 -0400 |
commit | 16a2357e8637fed706a94ab0da6226df8a2e7f07 (patch) | |
tree | 3ee9fbbcc2d24e19049bc2c23d61e95235210ee1 /kern | |
parent | 8b042182626b94ed6380f0ba6b99c0e862aa710f (diff) | |
download | gem5-16a2357e8637fed706a94ab0da6226df8a2e7f07.tar.xz |
.
--HG--
extra : convert_revision : 1ed206b27498641b64d7f35c74ea1f0623398d4e
Diffstat (limited to 'kern')
-rw-r--r-- | kern/freebsd/freebsd_system.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |