< prev index next >

src/hotspot/cpu/s390/register_s390.hpp

Print this page
rev 56941 : 8233787: Break cycle in vm_version* includes
Reviewed-by:
   1 /*
   2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * Copyright (c) 2016, 2017 SAP SE. All rights reserved.
   4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5  *
   6  * This code is free software; you can redistribute it and/or modify it
   7  * under the terms of the GNU General Public License version 2 only, as
   8  * published by the Free Software Foundation.
   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_S390_REGISTER_S390_HPP
  27 #define CPU_S390_REGISTER_S390_HPP
  28 
  29 #include "asm/register.hpp"
  30 #include "vm_version_s390.hpp"
  31 
  32 class Address;
  33 class VMRegImpl;
  34 
  35 typedef VMRegImpl* VMReg;
  36 
  37 
  38 // z/Architecture registers, see "LINUX for zSeries ELF ABI Supplement", IBM March 2001
  39 //
  40 //   r0-r1     General purpose (volatile)
  41 //   r2        Parameter and return value (volatile)
  42 //   r3        TOC pointer (volatile)
  43 //   r3-r5     Parameters (volatile)
  44 //   r6        Parameter (nonvolatile)
  45 //   r7-r11    Locals (nonvolatile)
  46 //   r12       Local, often used as GOT pointer (nonvolatile)
  47 //   r13       Local, often used as toc (nonvolatile)
  48 //   r14       return address (volatile)
  49 //   r15       stack pointer (nonvolatile)
  50 //


   1 /*
   2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * Copyright (c) 2016, 2019 SAP SE. All rights reserved.
   4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5  *
   6  * This code is free software; you can redistribute it and/or modify it
   7  * under the terms of the GNU General Public License version 2 only, as
   8  * published by the Free Software Foundation.
   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_S390_REGISTER_S390_HPP
  27 #define CPU_S390_REGISTER_S390_HPP
  28 
  29 #include "asm/register.hpp"
  30 #include "runtime/vm_version.hpp"
  31 
  32 class Address;
  33 class VMRegImpl;
  34 
  35 typedef VMRegImpl* VMReg;
  36 
  37 
  38 // z/Architecture registers, see "LINUX for zSeries ELF ABI Supplement", IBM March 2001
  39 //
  40 //   r0-r1     General purpose (volatile)
  41 //   r2        Parameter and return value (volatile)
  42 //   r3        TOC pointer (volatile)
  43 //   r3-r5     Parameters (volatile)
  44 //   r6        Parameter (nonvolatile)
  45 //   r7-r11    Locals (nonvolatile)
  46 //   r12       Local, often used as GOT pointer (nonvolatile)
  47 //   r13       Local, often used as toc (nonvolatile)
  48 //   r14       return address (volatile)
  49 //   r15       stack pointer (nonvolatile)
  50 //


< prev index next >