types: Move stuff for global types into src/base/types.hh
[gem5.git] / src / kern / tru64 / printf.cc
index 4245ac6d003a41ce44afd01dbd031cb350bd9e96..921b028a553d5cf043103484ee174a45efce99d7 100644 (file)
 #include <sys/types.h>
 #include <algorithm>
 
+#include "arch/vtophys.hh"
 #include "base/cprintf.hh"
 #include "base/trace.hh"
-#include "sim/host.hh"
-#include "arch/arguments.hh"
-#include "arch/vtophys.hh"
+#include "base/types.hh"
+#include "sim/arguments.hh"
 
 using namespace std;
 
 namespace tru64 {
 
 void
-Printf(TheISA::Arguments args)
+Printf(Arguments args)
 {
     std::ostream &out = Trace::output();
 
@@ -176,7 +176,7 @@ Printf(TheISA::Arguments args)
                   break;
 
                 case 's': {
-                    char *s = (char *)args;
+                    const char *s = (const char *)args;
                     if (!s)
                         s = "<NULL>";