summaryrefslogtreecommitdiff
path: root/util/m5/jni
diff options
context:
space:
mode:
authorPrakash Ramrakhyani <prakash.ramrakhyani@arm.com>2016-02-29 19:13:15 -0600
committerPrakash Ramrakhyani <prakash.ramrakhyani@arm.com>2016-02-29 19:13:15 -0600
commitfed0ea55c476d9843e3f07e4f879254d34d99279 (patch)
tree4f2906243c9a17202235ae4fc0bc7a00552e7a43 /util/m5/jni
parentf703160e5a49bf22b831d3a7f3355d7b4b3008fa (diff)
downloadgem5-fed0ea55c476d9843e3f07e4f879254d34d99279.tar.xz
util: update Java JNI interface to m5ops
Synchronize with ab19693da "pseudo inst,util: Add optional key to initparam pseudo instruction"
Diffstat (limited to 'util/m5/jni')
-rw-r--r--util/m5/jni/gem5Op.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/m5/jni/gem5Op.java b/util/m5/jni/gem5Op.java
index bb324b37c..9a58a84f2 100644
--- a/util/m5/jni/gem5Op.java
+++ b/util/m5/jni/gem5Op.java
@@ -53,7 +53,8 @@ public class gem5Op {
public native void wakeCPU(long cpuid);
public native void exit(long ns_delay);
- public native long initparam();
+ public native void fail(long ns_delay, long code);
+ public native long initparam(long key_str1, long key_str2);
public native void checkpoint(long ns_delay, long ns_period);
public native void reset_stats(long ns_delay, long ns_period);
public native void dump_stats(long ns_delay, long ns_period);