summaryrefslogtreecommitdiff
path: root/util/m5/m5op.h
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-11-01 13:20:44 -0500
committerNathan Binkert <binkertn@umich.edu>2003-11-01 13:20:44 -0500
commit15613161c28591ca1a40d019a1568f01d68d5743 (patch)
treed8295505ea60b4138349f9ab026a8b26fd491b99 /util/m5/m5op.h
parent166def1f5663bda1766b003fab4c46bc905fdb8d (diff)
downloadgem5-15613161c28591ca1a40d019a1568f01d68d5743.tar.xz
Commit a command for use inside a simulated system for communicating
with the simulator. This program is generally compiled as the name m5 and installed in /usr/local/bin This command uses opcodes that are invalid on a normal system, so don't expect it to do anything on a real system. --HG-- extra : convert_revision : fcbae99d4b0d38ff4a9950f1ab53923baa1f667a
Diffstat (limited to 'util/m5/m5op.h')
-rw-r--r--util/m5/m5op.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/m5/m5op.h b/util/m5/m5op.h
new file mode 100644
index 000000000..53de3144d
--- /dev/null
+++ b/util/m5/m5op.h
@@ -0,0 +1,11 @@
+#ifndef __M5OP_H__
+#define __M5OP_H__
+
+void arm(unsigned long address);
+void quiesce();
+void ivlb(unsigned long interval);
+void ivle(unsigned long interval);
+void m5exit();
+unsigned long initparam();
+
+#endif // __M5OP_H__