summaryrefslogtreecommitdiff
path: root/src/python/swig
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-06-13 01:09:04 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-06-13 01:09:04 -0400
commit907b28cc626e8b156d98187b0f91f5e8df0e9d56 (patch)
tree6713cd35ce3c7e49a620c0dd25982c27aec5d5d5 /src/python/swig
parent2b4874449ce45504a1759c593a1f9b00983fca01 (diff)
downloadgem5-907b28cc626e8b156d98187b0f91f5e8df0e9d56.tar.xz
HG: Add compiled hg revision and date to the standard M5 output.
Diffstat (limited to 'src/python/swig')
-rw-r--r--src/python/swig/core.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index 770765ca4..567eff591 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -39,6 +39,8 @@
#include "sim/startup.hh"
extern const char *compileDate;
+extern const char *hgRev;
+extern const char *hgDate;
%}
%include "stdint.i"
@@ -51,6 +53,8 @@ void SimStartup();
void doExitCleanup();
char *compileDate;
+char *hgRev;
+char *hgDate;
void setClockFrequency(Tick ticksPerSecond);