0
|
1 /*
|
|
2 * Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
|
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 *
|
|
5 * This code is free software; you can redistribute it and/or modify it
|
|
6 * under the terms of the GNU General Public License version 2 only, as
|
|
7 * published by the Free Software Foundation.
|
|
8 *
|
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
|
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
12 * version 2 for more details (a copy is included in the LICENSE file that
|
|
13 * accompanied this code).
|
|
14 *
|
|
15 * You should have received a copy of the GNU General Public License version
|
|
16 * 2 along with this work; if not, write to the Free Software Foundation,
|
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
18 *
|
|
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
20 * CA 95054 USA or visit www.sun.com if you need additional information or
|
|
21 * have any questions.
|
|
22 *
|
|
23 */
|
|
24
|
|
25 package sun.jvm.hotspot.debugger.win32.coff;
|
|
26
|
|
27 /** Constants defined by the MS COFF specification indicating machine
|
|
28 type of the given object file or image. (Some of the descriptions
|
|
29 are taken directly from Microsoft's documentation and are
|
|
30 copyrighted by Microsoft.) */
|
|
31
|
|
32 public interface MachineTypes {
|
|
33 /** Contents assumed to be applicable to any machine type. */
|
|
34 public static final short IMAGE_FILE_MACHINE_UNKNOWN = (short) 0x0;
|
|
35 /** Alpha AXP. */
|
|
36 public static final short IMAGE_FILE_MACHINE_ALPHA = (short) 0x184;
|
|
37 public static final short IMAGE_FILE_MACHINE_ARM = (short) 0x1c0;
|
|
38 /** Alpha AXP 64-bit. */
|
|
39 public static final short IMAGE_FILE_MACHINE_ALPHA64 = (short) 0x284;
|
|
40 /** Intel 386 or later, and compatible processors. */
|
|
41 public static final short IMAGE_FILE_MACHINE_I386 = (short) 0x14c;
|
|
42 /** Intel IA64 */
|
|
43 public static final short IMAGE_FILE_MACHINE_IA64 = (short) 0x200;
|
|
44 /** Motorola 68000 series. */
|
|
45 public static final short IMAGE_FILE_MACHINE_M68K = (short) 0x268;
|
|
46 public static final short IMAGE_FILE_MACHINE_MIPS16 = (short) 0x266;
|
|
47 /** MIPS with FPU */
|
|
48 public static final short IMAGE_FILE_MACHINE_MIPSFPU = (short) 0x366;
|
|
49 /** MIPS16 with FPU */
|
|
50 public static final short IMAGE_FILE_MACHINE_MIPSFPU16 = (short) 0x466;
|
|
51 /** Power PC, little endian. */
|
|
52 public static final short IMAGE_FILE_MACHINE_POWERPC = (short) 0x1f0;
|
|
53 public static final short IMAGE_FILE_MACHINE_R3000 = (short) 0x162;
|
|
54 /** MIPS little endian. */
|
|
55 public static final short IMAGE_FILE_MACHINE_R4000 = (short) 0x166;
|
|
56 public static final short IMAGE_FILE_MACHINE_R10000 = (short) 0x168;
|
|
57 /** Hitachi SH3 */
|
|
58 public static final short IMAGE_FILE_MACHINE_SH3 = (short) 0x1a2;
|
|
59 /** Hitachi SH4 */
|
|
60 public static final short IMAGE_FILE_MACHINE_SH4 = (short) 0x1a6;
|
|
61 public static final short IMAGE_FILE_MACHINE_THUMB = (short) 0x1c2;
|
|
62 }
|