aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/zero/vm/jni_zero.h
diff options
context:
space:
mode:
authornever <none@none>2009-10-13 12:04:21 -0700
committernever <none@none>2009-10-13 12:04:21 -0700
commit6fb1cf61d671927896b0abc3ed2cf5fb4fc4902c (patch)
treeec6b94984923663be07ef42e3350619f1f401941 /src/cpu/zero/vm/jni_zero.h
parent56fb2265c8413f73b3f6f0450011a8807de8ad5b (diff)
6890308: integrate zero assembler hotspot changes
Reviewed-by: never Contributed-by: gbenson@redhat.com
Diffstat (limited to 'src/cpu/zero/vm/jni_zero.h')
-rw-r--r--src/cpu/zero/vm/jni_zero.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/cpu/zero/vm/jni_zero.h b/src/cpu/zero/vm/jni_zero.h
new file mode 100644
index 000000000..40b52afbc
--- /dev/null
+++ b/src/cpu/zero/vm/jni_zero.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 2009 Red Hat, Inc.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+#define JNIEXPORT
+#define JNIIMPORT
+#define JNICALL
+
+typedef int jint;
+typedef signed char jbyte;
+
+#ifdef _LP64
+typedef long jlong;
+#else
+typedef long long jlong;
+#endif