summaryrefslogtreecommitdiff
path: root/base/trace.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-02-20 15:19:55 -0500
committerNathan Binkert <binkertn@umich.edu>2004-02-20 15:19:55 -0500
commita51cec66694a550417dcf792c72cbecbd79f3da7 (patch)
tree896c29378fb774ed366c38c40a959f971f372bcd /base/trace.hh
parentee8c8cbcd89f70d50a770007c6bcaf428ac2f233 (diff)
downloadgem5-a51cec66694a550417dcf792c72cbecbd79f3da7.tar.xz
Make it so dump takes a void *
base/trace.cc: base/trace.hh: take a void * for the raw data --HG-- extra : convert_revision : fc336dc82b4d533c3a0f319977074f26342445ea
Diffstat (limited to 'base/trace.hh')
-rw-r--r--base/trace.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/trace.hh b/base/trace.hh
index 9e5952765..e49d7aa61 100644
--- a/base/trace.hh
+++ b/base/trace.hh
@@ -108,7 +108,7 @@ namespace Trace {
int len;
public:
- RawDataRecord(Tick cycle, const uint8_t *_data, int _len);
+ RawDataRecord(Tick cycle, const void *_data, int _len);
virtual ~RawDataRecord();
virtual void dump(std::ostream &);
@@ -149,7 +149,7 @@ namespace Trace {
}
inline void
- rawDump(const uint8_t *data, int len)
+ rawDump(const void *data, int len)
{
theLog.append(new Trace::RawDataRecord(curTick, data, len));
}