0N/A/*
1879N/A * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A * or visit www.oracle.com if you need additional information or have any
1472N/A * questions.
0N/A *
0N/A */
0N/A
1879N/A#ifndef CPU_SPARC_VM_VMSTRUCTS_SPARC_HPP
1879N/A#define CPU_SPARC_VM_VMSTRUCTS_SPARC_HPP
1879N/A
0N/A// These are the CPU-specific fields, types and integer
0N/A// constants required by the Serviceability Agent. This file is
0N/A// referenced by vmStructs.cpp.
0N/A
0N/A#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field, last_entry) \
0N/A \
0N/A /******************************/ \
0N/A /* JavaCallWrapper */ \
0N/A /******************************/ \
0N/A /******************************/ \
0N/A /* JavaFrameAnchor */ \
0N/A /******************************/ \
0N/A volatile_nonstatic_field(JavaFrameAnchor, _flags, int) \
0N/A \
0N/A
0N/A /* NOTE that we do not use the last_entry() macro here; it is used */
0N/A /* in vmStructs_<os>_<cpu>.hpp's VM_STRUCTS_OS_CPU macro (and must */
0N/A /* be present there) */
0N/A
0N/A
0N/A#define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type, last_entry) \
0N/A
0N/A /* NOTE that we do not use the last_entry() macro here; it is used */
0N/A /* in vmStructs_<os>_<cpu>.hpp's VM_TYPES_OS_CPU macro (and must */
0N/A /* be present there) */
0N/A
0N/A
0N/A#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \
0N/A /******************************/ \
0N/A /* Register numbers (C2 only) */ \
0N/A /******************************/ \
0N/A \
0N/A declare_c2_constant(R_L0_num) \
0N/A declare_c2_constant(R_L1_num) \
0N/A declare_c2_constant(R_L2_num) \
0N/A declare_c2_constant(R_L3_num) \
0N/A declare_c2_constant(R_L4_num) \
0N/A declare_c2_constant(R_L5_num) \
0N/A declare_c2_constant(R_L6_num) \
0N/A declare_c2_constant(R_L7_num) \
0N/A declare_c2_constant(R_I0_num) \
0N/A declare_c2_constant(R_I1_num) \
0N/A declare_c2_constant(R_I2_num) \
0N/A declare_c2_constant(R_I3_num) \
0N/A declare_c2_constant(R_I4_num) \
0N/A declare_c2_constant(R_I5_num) \
0N/A declare_c2_constant(R_FP_num) \
0N/A declare_c2_constant(R_I7_num) \
0N/A declare_c2_constant(R_O0_num) \
0N/A declare_c2_constant(R_O1_num) \
0N/A declare_c2_constant(R_O2_num) \
0N/A declare_c2_constant(R_O3_num) \
0N/A declare_c2_constant(R_O4_num) \
0N/A declare_c2_constant(R_O5_num) \
0N/A declare_c2_constant(R_SP_num) \
0N/A declare_c2_constant(R_O7_num) \
0N/A declare_c2_constant(R_G0_num) \
0N/A declare_c2_constant(R_G1_num) \
0N/A declare_c2_constant(R_G2_num) \
0N/A declare_c2_constant(R_G3_num) \
0N/A declare_c2_constant(R_G4_num) \
0N/A declare_c2_constant(R_G5_num) \
0N/A declare_c2_constant(R_G6_num) \
0N/A declare_c2_constant(R_G7_num)
0N/A
0N/A
0N/A /* NOTE that we do not use the last_entry() macro here; it is used */
0N/A /* in vmStructs_<os>_<cpu>.hpp's VM_INT_CONSTANTS_OS_CPU macro (and must */
0N/A /* be present there) */
0N/A
0N/A#define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \
0N/A
0N/A /* NOTE that we do not use the last_entry() macro here; it is used */
0N/A /* in vmStructs_<os>_<cpu>.hpp's VM_LONG_CONSTANTS_OS_CPU macro (and must */
0N/A /* be present there) */
1879N/A
1879N/A#endif // CPU_SPARC_VM_VMSTRUCTS_SPARC_HPP