diff agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/MachineTypes.java @ 0:a61af66fc99e jdk7-b24

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children c18cbe5936b8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/MachineTypes.java	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2000 Sun Microsystems, Inc.  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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.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;
+}