summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
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