summaryrefslogtreecommitdiff
path: root/dev/ide_ctrl.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-16 18:20:10 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-16 18:20:10 -0400
commite937b38e2ccf0bf75794178f29c8482d76bec9c8 (patch)
tree296a9c7766f6f26746b2f72f5605d0b961fb5f58 /dev/ide_ctrl.cc
parentbfcb0882813272bc8ef74b98ed53e28a36147bb8 (diff)
downloadgem5-e937b38e2ccf0bf75794178f29c8482d76bec9c8.tar.xz
Updated serialization code and added #if tracing so that make fast
builds dev/ide_ctrl.cc: added #if to remove variables that are optimized out. dev/tsunami_io.cc: dev/tsunami_io.hh: Updated serialization code --HG-- extra : convert_revision : b322a3299097cbd05b9b5bb8b0a80e9fa33bdc20
Diffstat (limited to 'dev/ide_ctrl.cc')
-rw-r--r--dev/ide_ctrl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/ide_ctrl.cc b/dev/ide_ctrl.cc
index 68e7e58ad..7ef5fe8e4 100644
--- a/dev/ide_ctrl.cc
+++ b/dev/ide_ctrl.cc
@@ -255,7 +255,10 @@ IdeController::cacheAccess(MemReqPtr &req)
void
IdeController::ReadConfig(int offset, int size, uint8_t *data)
{
+
+#if TRACING_ON
Addr origOffset = offset;
+#endif
if (offset < PCI_DEVICE_SPECIFIC) {
PciDev::ReadConfig(offset, size, data);