util: Reorganize the java wrapper for gem5 ops.
authorGabe Black <gabe.black@gmail.com>
Fri, 23 Oct 2020 03:00:55 +0000 (20:00 -0700)
committerGabe Black <gabe.black@gmail.com>
Fri, 4 Dec 2020 22:56:24 +0000 (22:56 +0000)
commit666b7904e67b721984c238ee9d0767bb4e01c274
tree91f0834de23868cda11d27f20ff5a853d6d50228
parentbd7ac98819150edf565da3003928886911395345
util: Reorganize the java wrapper for gem5 ops.

Rather than use a top level package of jni which is generic, switch to a
top level package of "gem5". With that prefix, call the actual class
Ops, which is capitalized according to Java tradition and also
unambiguous given its package name.

Also move the java class definition and c JNI implementation into a java
subdir to keep it all together. The java related output will now be in
out/java for the same reason.

Change-Id: Ia0468d2edbcffe87a62022898f867ae391adc94c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28176
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/m5/README.md
util/m5/src/SConscript
util/m5/src/java/gem5/Ops.java [new file with mode: 0644]
util/m5/src/java/gem5/ops.c [new file with mode: 0644]
util/m5/src/jni/gem5Op.java [deleted file]
util/m5/src/jni_gem5Op.c [deleted file]