< prev index next >

src/hotspot/cpu/aarch64/vm_version_aarch64.hpp

Print this page
rev 56941 : 8233787: Break cycle in vm_version* includes
Reviewed-by:


   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef CPU_AARCH64_VM_VERSION_AARCH64_HPP
  27 #define CPU_AARCH64_VM_VERSION_AARCH64_HPP
  28 

  29 #include "runtime/globals_extension.hpp"
  30 #include "runtime/vm_version.hpp"
  31 #include "utilities/sizes.hpp"
  32 
  33 class VM_Version : public Abstract_VM_Version {
  34   friend class JVMCIVMStructs;
  35 
  36 protected:
  37   static int _cpu;
  38   static int _model;
  39   static int _model2;
  40   static int _variant;
  41   static int _revision;
  42   static int _stepping;
  43   static bool _dcpop;
  44   struct PsrInfo {
  45     uint32_t dczid_el0;
  46     uint32_t ctr_el0;
  47   };
  48   static PsrInfo _psr_info;
  49   static void get_processor_features();
  50 




   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef CPU_AARCH64_VM_VERSION_AARCH64_HPP
  27 #define CPU_AARCH64_VM_VERSION_AARCH64_HPP
  28 
  29 #include "runtime/abstract_vm_version.hpp"
  30 #include "runtime/globals_extension.hpp"

  31 #include "utilities/sizes.hpp"
  32 
  33 class VM_Version : public Abstract_VM_Version {
  34   friend class JVMCIVMStructs;
  35 
  36 protected:
  37   static int _cpu;
  38   static int _model;
  39   static int _model2;
  40   static int _variant;
  41   static int _revision;
  42   static int _stepping;
  43   static bool _dcpop;
  44   struct PsrInfo {
  45     uint32_t dczid_el0;
  46     uint32_t ctr_el0;
  47   };
  48   static PsrInfo _psr_info;
  49   static void get_processor_features();
  50 


< prev index next >