< prev index next >

src/hotspot/cpu/ppc/nativeInst_ppc.hpp

Print this page




  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_PPC_VM_NATIVEINST_PPC_HPP
  27 #define CPU_PPC_VM_NATIVEINST_PPC_HPP
  28 
  29 #include "asm/macroAssembler.hpp"
  30 #include "memory/allocation.hpp"
  31 #include "runtime/icache.hpp"
  32 #include "runtime/os.hpp"
  33 #include "runtime/safepointMechanism.hpp"
  34 
  35 // We have interfaces for the following instructions:
  36 //
  37 // - NativeInstruction
  38 //   - NativeCall
  39 //   - NativeFarCall
  40 //   - NativeMovConstReg
  41 //   - NativeJump
  42 //   - NativeIllegalInstruction
  43 //   - NativeConditionalFarBranch
  44 //   - NativeCallTrampolineStub
  45 
  46 // The base class for different kinds of native instruction abstractions.
  47 // It provides the primitive operations to manipulate code relative to this.
  48 class NativeInstruction {
  49   friend class Relocation;
  50 




  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_PPC_VM_NATIVEINST_PPC_HPP
  27 #define CPU_PPC_VM_NATIVEINST_PPC_HPP
  28 
  29 #include "asm/macroAssembler.hpp"

  30 #include "runtime/icache.hpp"
  31 #include "runtime/os.hpp"
  32 #include "runtime/safepointMechanism.hpp"
  33 
  34 // We have interfaces for the following instructions:
  35 //
  36 // - NativeInstruction
  37 //   - NativeCall
  38 //   - NativeFarCall
  39 //   - NativeMovConstReg
  40 //   - NativeJump
  41 //   - NativeIllegalInstruction
  42 //   - NativeConditionalFarBranch
  43 //   - NativeCallTrampolineStub
  44 
  45 // The base class for different kinds of native instruction abstractions.
  46 // It provides the primitive operations to manipulate code relative to this.
  47 class NativeInstruction {
  48   friend class Relocation;
  49 


< prev index next >