summaryrefslogtreecommitdiff
path: root/util/m5/m5op_alpha.S
diff options
context:
space:
mode:
Diffstat (limited to 'util/m5/m5op_alpha.S')
-rw-r--r--util/m5/m5op_alpha.S72
1 files changed, 36 insertions, 36 deletions
diff --git a/util/m5/m5op_alpha.S b/util/m5/m5op_alpha.S
index 9e8c49338..91e1d5353 100644
--- a/util/m5/m5op_alpha.S
+++ b/util/m5/m5op_alpha.S
@@ -31,7 +31,7 @@
#define m5_op 0x01
-#include "m5ops.h"
+#include <gem5/asm/generic/m5ops.h>
#define INST(op, ra, rb, func) \
.long (((op) << 26) | ((ra) << 21) | ((rb) << 16) | (func))
@@ -54,42 +54,42 @@ func:
RET; \
END(_f)
-#define ARM(reg) INST(m5_op, reg, 0, arm_func)
-#define QUIESCE INST(m5_op, 0, 0, quiesce_func)
-#define QUIESCENS(r1) INST(m5_op, r1, 0, quiescens_func)
-#define QUIESCECYC(r1) INST(m5_op, r1, 0, quiescecycle_func)
-#define QUIESCETIME INST(m5_op, 0, 0, quiescetime_func)
-#define RPNS INST(m5_op, 0, 0, rpns_func)
-#define WAKE_CPU(r1) INST(m5_op, r1, 0, wakecpu_func)
-#define M5EXIT(reg) INST(m5_op, reg, 0, exit_func)
-#define INITPARAM(reg) INST(m5_op, reg, 0, initparam_func)
-#define LOADSYMBOL(reg) INST(m5_op, reg, 0, loadsymbol_func)
-#define RESET_STATS(r1, r2) INST(m5_op, r1, r2, resetstats_func)
-#define DUMP_STATS(r1, r2) INST(m5_op, r1, r2, dumpstats_func)
-#define DUMPRST_STATS(r1, r2) INST(m5_op, r1, r2, dumprststats_func)
-#define CHECKPOINT(r1, r2) INST(m5_op, r1, r2, ckpt_func)
-#define READFILE INST(m5_op, 0, 0, readfile_func)
-#define DEBUGBREAK INST(m5_op, 0, 0, debugbreak_func)
-#define SWITCHCPU INST(m5_op, 0, 0, switchcpu_func)
-#define ADDSYMBOL(r1,r2) INST(m5_op, r1, r2, addsymbol_func)
-#define PANIC INST(m5_op, 0, 0, panic_func)
+#define ARM(reg) INST(m5_op, reg, 0, M5OP_ARM)
+#define QUIESCE INST(m5_op, 0, 0, M5OP_QUIESCE)
+#define QUIESCENS(r1) INST(m5_op, r1, 0, M5OP_QUIESCE_NS)
+#define QUIESCECYC(r1) INST(m5_op, r1, 0, M5OP_QUIESCE_CYCLE)
+#define QUIESCETIME INST(m5_op, 0, 0, M5OP_QUIESCE_TIME)
+#define RPNS INST(m5_op, 0, 0, M5OP_RPNS)
+#define WAKE_CPU(r1) INST(m5_op, r1, 0, M5OP_WAKE_CPU)
+#define M5EXIT(reg) INST(m5_op, reg, 0, M5OP_EXIT)
+#define INITPARAM(reg) INST(m5_op, reg, 0, M5OP_INIT_PARAM)
+#define LOADSYMBOL(reg) INST(m5_op, reg, 0, M5OP_LOAD_SYMBOL)
+#define RESET_STATS(r1, r2) INST(m5_op, r1, r2, M5OP_RESET_STATS)
+#define DUMP_STATS(r1, r2) INST(m5_op, r1, r2, M5OP_DUMP_STATS)
+#define DUMPRST_STATS(r1, r2) INST(m5_op, r1, r2, M5OP_DUMP_RESET_STATS)
+#define CHECKPOINT(r1, r2) INST(m5_op, r1, r2, M5OP_CHECKPOINT)
+#define READFILE INST(m5_op, 0, 0, M5OP_READ_FILE)
+#define DEBUGBREAK INST(m5_op, 0, 0, M5OP_DEBUG_BREAK)
+#define SWITCHCPU INST(m5_op, 0, 0, M5OP_SWITCH_CPU)
+#define ADDSYMBOL(r1,r2) INST(m5_op, r1, r2, M5OP_ADD_SYMBOL)
+#define PANIC INST(m5_op, 0, 0, M5OP_PANIC)
-#define AN_BSM INST(m5_op, an_bsm, 0, annotate_func)
-#define AN_ESM INST(m5_op, an_esm, 0, annotate_func)
-#define AN_BEGIN INST(m5_op, an_begin, 0, annotate_func)
-#define AN_END INST(m5_op, an_end, 0, annotate_func)
-#define AN_Q INST(m5_op, an_q, 0, annotate_func)
-#define AN_RQ INST(m5_op, an_rq, 0, annotate_func)
-#define AN_DQ INST(m5_op, an_dq, 0, annotate_func)
-#define AN_WF INST(m5_op, an_wf, 0, annotate_func)
-#define AN_WE INST(m5_op, an_we, 0, annotate_func)
-#define AN_WS INST(m5_op, an_ws, 0, annotate_func)
-#define AN_SQ INST(m5_op, an_sq, 0, annotate_func)
-#define AN_AQ INST(m5_op, an_aq, 0, annotate_func)
-#define AN_PQ INST(m5_op, an_pq, 0, annotate_func)
-#define AN_L INST(m5_op, an_l, 0, annotate_func)
-#define AN_IDENTIFY INST(m5_op, an_identify, 0, annotate_func)
-#define AN_GETID INST(m5_op, an_getid, 0, annotate_func)
+#define AN_BSM INST(m5_op, M5OP_AN_BSM, 0, M5OP_ANNOTATE)
+#define AN_ESM INST(m5_op, M5OP_AN_ESM, 0, M5OP_ANNOTATE)
+#define AN_BEGIN INST(m5_op, M5OP_AN_BEGIN, 0, M5OP_ANNOTATE)
+#define AN_END INST(m5_op, M5OP_AN_END, 0, M5OP_ANNOTATE)
+#define AN_Q INST(m5_op, M5OP_AN_Q, 0, M5OP_ANNOTATE)
+#define AN_RQ INST(m5_op, M5OP_AN_RQ, 0, M5OP_ANNOTATE)
+#define AN_DQ INST(m5_op, M5OP_AN_DQ, 0, M5OP_ANNOTATE)
+#define AN_WF INST(m5_op, M5OP_AN_WF, 0, M5OP_ANNOTATE)
+#define AN_WE INST(m5_op, M5OP_AN_WE, 0, M5OP_ANNOTATE)
+#define AN_WS INST(m5_op, M5OP_AN_WS, 0, M5OP_ANNOTATE)
+#define AN_SQ INST(m5_op, M5OP_AN_SQ, 0, M5OP_ANNOTATE)
+#define AN_AQ INST(m5_op, M5OP_AN_AQ, 0, M5OP_ANNOTATE)
+#define AN_PQ INST(m5_op, M5OP_AN_PQ, 0, M5OP_ANNOTATE)
+#define AN_L INST(m5_op, M5OP_AN_L, 0, M5OP_ANNOTATE)
+#define AN_IDENTIFY INST(m5_op, M5OP_AN_IDENTIFY, 0, M5OP_ANNOTATE)
+#define AN_GETID INST(m5_op, M5OP_AN_GETID, 0, M5OP_ANNOTATE)
.set noreorder