From 807168a1de1b101622d084c5fe160cf41ff3f59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Date: Tue, 8 Jan 2013 08:54:12 -0500 Subject: util: add m5_fail op. Used as a command in full-system scripts helps the user ensure the benchmarks have finished successfully. For example, one can use: /path/to/benchmark args || /sbin/m5 fail 1 and thus ensure gem5 will exit with an error if the benchmark fails. --- util/m5/m5op_x86.S | 1 + 1 file changed, 1 insertion(+) (limited to 'util/m5/m5op_x86.S') diff --git a/util/m5/m5op_x86.S b/util/m5/m5op_x86.S index 93eacc24d..2c25785e6 100644 --- a/util/m5/m5op_x86.S +++ b/util/m5/m5op_x86.S @@ -48,6 +48,7 @@ TWO_BYTE_OP(quiesceCycle, quiescecycle_func) TWO_BYTE_OP(quiesceTime, quiescetime_func) TWO_BYTE_OP(rpns, rpns_func) TWO_BYTE_OP(m5_exit, exit_func) +TWO_BYTE_OP(m5_fail, fail_func) TWO_BYTE_OP(m5_initparam, initparam_func) TWO_BYTE_OP(m5_loadsymbol, loadsymbol_func) TWO_BYTE_OP(m5_reset_stats, resetstats_func) -- cgit v1.2.3