summaryrefslogtreecommitdiff
path: root/dev/tsunami_cchip.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2005-02-13 23:03:04 -0500
committerAli Saidi <saidi@eecs.umich.edu>2005-02-13 23:03:04 -0500
commit57482491c5eeb3e52f2f29f5f56040445004cb43 (patch)
tree8169e014e3ab26cf3128168f6c0a625f691e8e4e /dev/tsunami_cchip.cc
parentb78d7c2f16dac11ed468de45a088a362605c6493 (diff)
downloadgem5-57482491c5eeb3e52f2f29f5f56040445004cb43.tar.xz
build mysql version if libraries exist
add dprintf on alignment faults fix RR benchmark rcS script name Add Dual test without rcS script Update Monet to be closer to the real thing Fix p4/monet configs Add a way to read the DRIR register with at 32bit access for validation SConscript: build/SConstruct: always use mysql if the libraries are installed arch/alpha/alpha_memory.cc: Add a DPRINTF to print alignment faults when they happen dev/tsunami_cchip.cc: Add a way to read the DRIR for validation. --HG-- extra : convert_revision : 8c112c958f36b785390c46e70a889a79c6bea015
Diffstat (limited to 'dev/tsunami_cchip.cc')
-rw-r--r--dev/tsunami_cchip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tsunami_cchip.cc b/dev/tsunami_cchip.cc
index 6bf4d8b57..2fb293fbf 100644
--- a/dev/tsunami_cchip.cc
+++ b/dev/tsunami_cchip.cc
@@ -176,7 +176,7 @@ TsunamiCChip::read(MemReqPtr &req, uint8_t *data)
if (regnum == TSDEV_CC_DRIR) {
warn("accessing DRIR with 32 bit read, "
"hopefully your just reading this for timing");
- *(uint64_t*)data = drir;
+ *(uint32_t*)data = drir;
} else
panic("invalid access size(?) for tsunami register!\n");
return No_Fault;