A little bit of code here and there to get more access to

what the console output is.

base/circlebuf.hh:
base/circlebuf.cc:
    add stuff to spit to an ostream
    prepend _ in front of protected member variables
    formatting
dev/console.hh:
dev/console.cc:
    Add DPRINTF to spit out the lines of console data
dev/console.cc:
    little hack to append name() to the file so that we can
    easily get multiple output files.
dev/console.hh:
    TRACING_ON == 1 not defined(TRACING_ON)

--HG--
extra : convert_revision : bbe80715fb97ee4c4ed6b484955ef71289f09fc9
This commit is contained in:
Nathan Binkert
2003-11-04 17:43:41 -05:00
parent a7635fa6ef
commit 247984bc22
4 changed files with 178 additions and 115 deletions

View File

@@ -74,6 +74,9 @@ class SimConsole : public SimObject
CircleBuf txbuf;
CircleBuf rxbuf;
std::ostream *outfile;
#if TRACING_ON == 1
CircleBuf linebuf;
#endif
public:
///////////////////////