X86: Define a noop ExtMachInst.
[gem5.git] / src / arch / alpha / osfpal.cc
index 0edbadb06483121d42884e031f996a89ad90194e..58a3d31eb8e73ae156db9db7aaf9f47be95e02ca 100644 (file)
 
 #include "arch/alpha/osfpal.hh"
 
-namespace {
-    const char *strings[PAL::NumCodes] = {
+const char *
+PAL::name(int index)
+{
+    static const char *strings[PAL::NumCodes] = {
         // Priviledged PAL instructions
         "halt",         // 0x00
         "cflush",       // 0x01
@@ -294,11 +296,7 @@ namespace {
         0               // 0xff
 #endif
     };
-}
 
-const char *
-PAL::name(int index)
-{
     if (index > NumCodes || index < 0)
         return 0;