From dfa8cbeb06b7556753c26b97978924c1f4a24699 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Sun, 6 Feb 2011 22:14:19 -0800 Subject: m5: added work completed monitoring support --- util/m5/m5op_x86.S | 2 ++ util/m5/m5ops.h | 3 +++ 2 files changed, 5 insertions(+) (limited to 'util') 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 -- cgit v1.2.3