alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (MachineTypes.java)

This example Java source code file (MachineTypes.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

image_file_machine_alpha64, image_file_machine_arm, image_file_machine_ia64, image_file_machine_m68k, image_file_machine_mips16, image_file_machine_mipsfpu, image_file_machine_mipsfpu16, image_file_machine_powerpc, image_file_machine_r10000, image_file_machine_r3000, image_file_machine_sh3, image_file_machine_thumb, image_file_machine_unknown, machinetypes

The MachineTypes.java Java example source code

/*
 * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 *
 */

package sun.jvm.hotspot.debugger.win32.coff;

/** Constants defined by the MS COFF specification indicating machine
    type of the given object file or image. (Some of the descriptions
    are taken directly from Microsoft's documentation and are
    copyrighted by Microsoft.) */

public interface MachineTypes {
  /** Contents assumed to be applicable to any machine type. */
  public static final short IMAGE_FILE_MACHINE_UNKNOWN = (short) 0x0;
  /** Alpha AXP. */
  public static final short IMAGE_FILE_MACHINE_ALPHA = (short) 0x184;
  public static final short IMAGE_FILE_MACHINE_ARM = (short) 0x1c0;
  /** Alpha AXP 64-bit. */
  public static final short IMAGE_FILE_MACHINE_ALPHA64 = (short) 0x284;
  /** Intel 386 or later, and compatible processors. */
  public static final short IMAGE_FILE_MACHINE_I386 = (short) 0x14c;
  /** Intel IA64 */
  public static final short IMAGE_FILE_MACHINE_IA64 = (short) 0x200;
  /** Motorola 68000 series. */
  public static final short IMAGE_FILE_MACHINE_M68K = (short) 0x268;
  public static final short IMAGE_FILE_MACHINE_MIPS16 = (short) 0x266;
  /** MIPS with FPU */
  public static final short IMAGE_FILE_MACHINE_MIPSFPU = (short) 0x366;
  /** MIPS16 with FPU */
  public static final short IMAGE_FILE_MACHINE_MIPSFPU16 = (short) 0x466;
  /** Power PC, little endian. */
  public static final short IMAGE_FILE_MACHINE_POWERPC = (short) 0x1f0;
  public static final short IMAGE_FILE_MACHINE_R3000 = (short) 0x162;
  /** MIPS little endian. */
  public static final short IMAGE_FILE_MACHINE_R4000 = (short) 0x166;
  public static final short IMAGE_FILE_MACHINE_R10000 = (short) 0x168;
  /** Hitachi SH3 */
  public static final short IMAGE_FILE_MACHINE_SH3 = (short) 0x1a2;
  /** Hitachi SH4 */
  public static final short IMAGE_FILE_MACHINE_SH4 = (short) 0x1a6;
  public static final short IMAGE_FILE_MACHINE_THUMB = (short) 0x1c2;
}

Other Java examples (source code examples)

Here is a short list of links related to this Java MachineTypes.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.