summaryrefslogtreecommitdiff
path: root/util/m5/m5op_alpha.S
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-01-24 07:27:22 -0800
committerNathan Binkert <nate@binkert.org>2009-01-24 07:27:22 -0800
commit64ed39f61b89675237e145ed4a81b49f353921ed (patch)
treeb1338a651e9b428e0e748c8000840390d0498f16 /util/m5/m5op_alpha.S
parentf0fb3ac060234ed5860c8d5bca3e84dbd8d30c36 (diff)
downloadgem5-64ed39f61b89675237e145ed4a81b49f353921ed.tar.xz
pseudo inst: Add new wake cpu instruction for sending a message to wake a cpu.
It's instantaneous and so it's somewhat bogus, but it's a first step.
Diffstat (limited to 'util/m5/m5op_alpha.S')
-rw-r--r--util/m5/m5op_alpha.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/m5/m5op_alpha.S b/util/m5/m5op_alpha.S
index 77e9afe34..4c04af3f6 100644
--- a/util/m5/m5op_alpha.S
+++ b/util/m5/m5op_alpha.S
@@ -60,6 +60,7 @@ 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)
@@ -81,6 +82,7 @@ SIMPLE_OP(quiesceNs, QUIESCENS(16))
SIMPLE_OP(quiesceCycle, QUIESCECYC(16))
SIMPLE_OP(quiesceTime, QUIESCETIME)
SIMPLE_OP(rpns, RPNS)
+SIMPLE_OP(wakeCPU, WAKE_CPU(16))
SIMPLE_OP(m5_exit, M5EXIT(16))
SIMPLE_OP(m5_initparam, INITPARAM(0))
SIMPLE_OP(m5_loadsymbol, LOADSYMBOL(0))