sim: Add support for m5fail in pseudoInst()
authorAndreas Sandberg <andreas@sandberg.pp.se>
Thu, 2 May 2013 09:54:08 +0000 (11:54 +0200)
committerAndreas Sandberg <andreas@sandberg.pp.se>
Thu, 2 May 2013 09:54:08 +0000 (11:54 +0200)
src/sim/pseudo_inst.cc

index 52c7502a1b197156a8aff29a5ea1fbe7a02055d9..4166797fb328d6bfd99d29e7ff0b03fea5f1ffa0 100644 (file)
@@ -129,6 +129,10 @@ pseudoInst(ThreadContext *tc, uint8_t func, uint8_t subfunc)
         m5exit(tc, args[0]);
         break;
 
+      case 0x22:
+        m5fail(tc, args[0], args[1]);
+        break;
+
       case 0x30: // initparam_func
         return initParam(tc);