Deleted Added
sdiff udiff text old ( 8547:5979b029bbb4 ) new ( 11358:cd41493e8b7e )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 87 unchanged lines hidden (view full) ---

96}
97
98JNIEXPORT void JNICALL
99Java_jni_gem5Op_exit(JNIEnv *env, jobject obj, jlong j_ns_delay)
100{
101 m5_exit(j_ns_delay);
102}
103
104JNIEXPORT jlong JNICALL
105Java_jni_gem5Op_initparam(JNIEnv *env, jobject obj)
106{
107 uint64_t param = m5_initparam();
108 if (param & 0x8000000000000000ULL)
109 printf("Truncated return value from m_initparam() to 63 bits\n");
110 return (param & 0x7FFFFFFFFFFFFFFFULL);
111}
112
113JNIEXPORT void JNICALL
114Java_jni_gem5Op_checkpoint(JNIEnv *env, jobject obj,
115 jlong j_ns_delay, jlong j_ns_period)

--- 57 unchanged lines hidden ---