HG: Add compiled hg revision and date to the standard M5 output.

This commit is contained in:
Ali Saidi
2008-06-13 01:09:04 -04:00
parent 2b4874449c
commit 907b28cc62
4 changed files with 54 additions and 3 deletions

View File

@@ -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);