summaryrefslogtreecommitdiff
path: root/util/m5/m5ops.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-11-10 11:51:18 -0800
committerNathan Binkert <nate@binkert.org>2008-11-10 11:51:18 -0800
commiteb5d9ba72b0309e7f98c382e3a80ce0601dbe084 (patch)
treedb510966579937d92bdacf4ad00b949e1ef0a5a8 /util/m5/m5ops.h
parentc25d966b06061402894b99a2362cb109275b73d1 (diff)
downloadgem5-eb5d9ba72b0309e7f98c382e3a80ce0601dbe084.tar.xz
pseudo inst: Add rpns (read processor nanoseconds) instruction.
This instruction basically returns the number of nanoseconds that the CPU has been running.
Diffstat (limited to 'util/m5/m5ops.h')
-rw-r--r--util/m5/m5ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/m5/m5ops.h b/util/m5/m5ops.h
index 58846e1cf..ab9bdd857 100644
--- a/util/m5/m5ops.h
+++ b/util/m5/m5ops.h
@@ -34,6 +34,7 @@
#define quiescens_func 0x02
#define quiescecycle_func 0x03
#define quiescetime_func 0x04
+#define rpns_func 0x07
#define deprecated1_func 0x10 // obsolete ivlb
#define deprecated2_func 0x11 // obsolete ivle
#define deprecated3_func 0x20 // deprecated exit function