summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-02-06 22:14:19 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-02-06 22:14:19 -0800
commitdfa8cbeb06b7556753c26b97978924c1f4a24699 (patch)
tree5c47168bd2d8794612d385cc12277c5212660e40 /util
parentc41fc138e78420c72d8dada805a16c96f74f631b (diff)
downloadgem5-dfa8cbeb06b7556753c26b97978924c1f4a24699.tar.xz
m5: added work completed monitoring support
Diffstat (limited to 'util')
-rw-r--r--util/m5/m5op_x86.S2
-rw-r--r--util/m5/m5ops.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/util/m5/m5op_x86.S b/util/m5/m5op_x86.S
index 91e07a1f1..5f746459f 100644
--- a/util/m5/m5op_x86.S
+++ b/util/m5/m5op_x86.S
@@ -59,3 +59,5 @@ TWO_BYTE_OP(m5_debugbreak, debugbreak_func)
TWO_BYTE_OP(m5_switchcpu, switchcpu_func)
TWO_BYTE_OP(m5_addsymbol, addsymbol_func)
TWO_BYTE_OP(m5_panic, panic_func)
+TWO_BYTE_OP(m5_work_begin, work_begin_func)
+TWO_BYTE_OP(m5_work_end, work_end_func)
diff --git a/util/m5/m5ops.h b/util/m5/m5ops.h
index 7f26fd4d8..bc2ae06be 100644
--- a/util/m5/m5ops.h
+++ b/util/m5/m5ops.h
@@ -57,6 +57,9 @@
#define reserved4_func 0x58 // Reserved for user
#define reserved5_func 0x59 // Reserved for user
+#define work_begin_func 0x5a
+#define work_end_func 0x5b
+
// These operations are for critical path annotation
#define annotate_func 0x55
#define an_bsm 0x1