12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "jvm.h"
27 #include "asm/macroAssembler.inline.hpp"
28 #include "memory/resourceArea.hpp"
29 #include "runtime/java.hpp"
30 #include "runtime/os.inline.hpp"
31 #include "runtime/stubCodeGenerator.hpp"
32 #include "vm_version_arm.hpp"
33
34 int VM_Version::_stored_pc_adjustment = 4;
35 int VM_Version::_arm_arch = 5;
36 bool VM_Version::_is_initialized = false;
37 int VM_Version::_kuser_helper_version = 0;
38
39 extern "C" {
40 typedef int (*get_cpu_info_t)();
41 typedef bool (*check_vfp_t)(double *d);
42 typedef bool (*check_simd_t)();
43 typedef bool (*check_mp_ext_t)(int *addr);
44 }
45
46 #define __ _masm->
47
48 class VM_Version_StubGenerator: public StubCodeGenerator {
49 public:
50
51 VM_Version_StubGenerator(CodeBuffer *c) : StubCodeGenerator(c) {}
52
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "jvm.h"
27 #include "asm/macroAssembler.inline.hpp"
28 #include "memory/resourceArea.hpp"
29 #include "runtime/java.hpp"
30 #include "runtime/os.inline.hpp"
31 #include "runtime/stubCodeGenerator.hpp"
32 #include "runtime/vm_version.hpp"
33
34 int VM_Version::_stored_pc_adjustment = 4;
35 int VM_Version::_arm_arch = 5;
36 bool VM_Version::_is_initialized = false;
37 int VM_Version::_kuser_helper_version = 0;
38
39 extern "C" {
40 typedef int (*get_cpu_info_t)();
41 typedef bool (*check_vfp_t)(double *d);
42 typedef bool (*check_simd_t)();
43 typedef bool (*check_mp_ext_t)(int *addr);
44 }
45
46 #define __ _masm->
47
48 class VM_Version_StubGenerator: public StubCodeGenerator {
49 public:
50
51 VM_Version_StubGenerator(CodeBuffer *c) : StubCodeGenerator(c) {}
52
|