VirtualBox

Changeset 68843 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 24, 2017 1:38:06 PM (7 years ago)
Author:
vboxsync
Message:

iprt/formats/pecoff.h: Added some historical coff machine numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/pecoff.h

    r68687 r68843  
    6262 * Used by IMAGE_FILE_HEADER::Machine and IMAGE_SEPARATE_DEBUG_HEADER::Machine.
    6363 * @{ */
    64 /** X86 compatible CPU, 32-bit instructions.   */
     64/** X86 compatible CPU, 32-bit instructions. */
    6565#define IMAGE_FILE_MACHINE_I386             UINT16_C(0x014c)
    66 /** AMD64 compatible CPU, 64-bit instructions.   */
     66/** AMD64 compatible CPU, 64-bit instructions. */
    6767#define IMAGE_FILE_MACHINE_AMD64            UINT16_C(0x8664)
    6868
    6969/** Unknown target CPU. */
    7070#define IMAGE_FILE_MACHINE_UNKNOWN          UINT16_C(0x0000)
    71 /** Matshushita AM33 CPU. */
    72 #define IMAGE_FILE_MACHINE_AM33             UINT16_C(0x01d3)
    73 /** Little endian ARM CPU. */
    74 #define IMAGE_FILE_MACHINE_ARM              UINT16_C(0x01c0)
    75 /** ARM or Thumb stuff. */
    76 #define IMAGE_FILE_MACHINE_THUMB            UINT16_C(0x01c2)
    77 /** ARMv7 or higher CPU, Thumb mode. */
    78 #define IMAGE_FILE_MACHINE_ARMNT            UINT16_C(0x01c4)
    79 /** ARMv8 CPU, 64-bit mode. */
    80 #define IMAGE_FILE_MACHINE_ARM64            UINT16_C(0xaa64)
    81 /** EFI byte code. */
    82 #define IMAGE_FILE_MACHINE_EBC              UINT16_C(0x0ebc)
    83 /** "Itanic" CPU. */
    84 #define IMAGE_FILE_MACHINE_IA64             UINT16_C(0x0200)
    85 /** Mitsubishi M32R CPU, little endian. */
    86 #define IMAGE_FILE_MACHINE_M32R             UINT16_C(0x9041)
    87 /** MIPS CPU, compact 16-bit instructions only? */
    88 #define IMAGE_FILE_MACHINE_MIPS16           UINT16_C(0x0266)
    89 /** MIPS CPU with FPU, full 32-bit instructions only? */
    90 #define IMAGE_FILE_MACHINE_MIPSFPU          UINT16_C(0x0366)
    91 /** MIPS CPU with FPU, compact 16-bit instructions? */
    92 #define IMAGE_FILE_MACHINE_MIPSFPU16        UINT16_C(0x0466)
     71/** Basic-16 (whatever that is). */
     72#define IMAGE_FILE_MACHINE_BASIC_16         UINT16_C(0x0142)
     73/** Basic-16 (whatever that is) w/ transfer vector(s?) (TV). */
     74#define IMAGE_FILE_MACHINE_BASIC_16_TV      UINT16_C(0x0143)
     75/** Intel iAPX 16 (8086?). */
     76#define IMAGE_FILE_MACHINE_IAPX16           UINT16_C(0x0144)
     77/** Intel iAPX 16 (8086?) w/ transfer vector(s?) (TV). */
     78#define IMAGE_FILE_MACHINE_IAPX16_TV        UINT16_C(0x0145)
     79/** Intel iAPX 20 (80286?). */
     80#define IMAGE_FILE_MACHINE_IAPX20           UINT16_C(0x0144)
     81/** Intel iAPX 20 (80286?) w/ transfer vector(s?) (TV). */
     82#define IMAGE_FILE_MACHINE_IAPX20_TV        UINT16_C(0x0145)
     83/** X86 compatible CPU, 8086. */
     84#define IMAGE_FILE_MACHINE_I8086            UINT16_C(0x0148)
     85/** X86 compatible CPU, 8086 w/ transfer vector(s?) (TV). */
     86#define IMAGE_FILE_MACHINE_I8086_TV         UINT16_C(0x0149)
     87/** X86 compatible CPU, 80286 small model program. */
     88#define IMAGE_FILE_MACHINE_I286_SMALL       UINT16_C(0x014a)
     89/** Motorola 68000. */
     90#define IMAGE_FILE_MACHINE_MC68             UINT16_C(0x0150)
     91/** Motorola 68000 w/ writable text sections. */
     92#define IMAGE_FILE_MACHINE_MC68_WR          UINT16_C(0x0150)
     93/** Motorola 68000 w/ transfer vector(s?). */
     94#define IMAGE_FILE_MACHINE_MC68_TV          UINT16_C(0x0151)
     95/** Motorola 68000 w/ demand paged text.
     96 * @note shared with 80286 large model program. */
     97#define IMAGE_FILE_MACHINE_MC68_PG          UINT16_C(0x0152)
     98/** X86 compatible CPU, 80286 large model program.
     99 * @note shared with MC68000 w/ demand paged text */
     100#define IMAGE_FILE_MACHINE_I286_LARGE       UINT16_C(0x0152)
     101/** IBM 370 (writable text). */
     102#define IMAGE_FILE_MACHINE_U370_WR          UINT16_C(0x0158)
     103/** Amdahl 470/580 (writable text). */
     104#define IMAGE_FILE_MACHINE_AMDAHL_470_WR    UINT16_C(0x0159)
     105/** Amdahl 470/580 (read only text). */
     106#define IMAGE_FILE_MACHINE_AMDAHL_470_RO    UINT16_C(0x015c)
     107/** IBM 370 (read only text). */
     108#define IMAGE_FILE_MACHINE_U370_RO          UINT16_C(0x015d)
     109/** MIPS R4000 CPU, little endian. */
     110#define IMAGE_FILE_MACHINE_R4000            UINT16_C(0x0166)
    93111/** MIPS CPU, little endian, Windows CE (?) v2 designation. */
    94112#define IMAGE_FILE_MACHINE_WCEMIPSV2        UINT16_C(0x0169)
    95 /** Power PC CPU, little endian. */
    96 #define IMAGE_FILE_MACHINE_POWERPC          UINT16_C(0x01f0)
    97 /** Power PC CPU with FPU, also little endian? */
    98 #define IMAGE_FILE_MACHINE_POWERPCFP        UINT16_C(0x01f1)
    99 /** MIPS R4000 CPU, little endian. */
    100 #define IMAGE_FILE_MACHINE_R4000            UINT16_C(0x0166)
     113/** VAX-11/750 and VAX-11/780 (writable text). */
     114#define IMAGE_FILE_MACHINE_VAX_WR           UINT16_C(0x0178)
     115/** VAX-11/750 and VAX-11/780 (read-only text). */
     116#define IMAGE_FILE_MACHINE_VAX_RO           UINT16_C(0x017d)
    101117/** Hitachi SH3 CPU. */
    102118#define IMAGE_FILE_MACHINE_SH3              UINT16_C(0x01a2)
     
    107123/** Hitachi SH5 CPU. */
    108124#define IMAGE_FILE_MACHINE_SH5              UINT16_C(0x01a8)
     125/** Little endian ARM CPU. */
     126#define IMAGE_FILE_MACHINE_ARM              UINT16_C(0x01c0)
     127/** ARM or Thumb stuff. */
     128#define IMAGE_FILE_MACHINE_THUMB            UINT16_C(0x01c2)
     129/** ARMv7 or higher CPU, Thumb mode. */
     130#define IMAGE_FILE_MACHINE_ARMNT            UINT16_C(0x01c4)
     131/** Matshushita AM33 CPU. */
     132#define IMAGE_FILE_MACHINE_AM33             UINT16_C(0x01d3)
     133/** Power PC CPU, little endian. */
     134#define IMAGE_FILE_MACHINE_POWERPC          UINT16_C(0x01f0)
     135/** Power PC CPU with FPU, also little endian? */
     136#define IMAGE_FILE_MACHINE_POWERPCFP        UINT16_C(0x01f1)
     137/** "Itanic" CPU. */
     138#define IMAGE_FILE_MACHINE_IA64             UINT16_C(0x0200)
     139/** MIPS CPU, compact 16-bit instructions only? */
     140#define IMAGE_FILE_MACHINE_MIPS16           UINT16_C(0x0266)
     141/** MIPS CPU with FPU, full 32-bit instructions only? */
     142#define IMAGE_FILE_MACHINE_MIPSFPU          UINT16_C(0x0366)
     143/** MIPS CPU with FPU, compact 16-bit instructions? */
     144#define IMAGE_FILE_MACHINE_MIPSFPU16        UINT16_C(0x0466)
     145/** EFI byte code. */
     146#define IMAGE_FILE_MACHINE_EBC              UINT16_C(0x0ebc)
     147/** Mitsubishi M32R CPU, little endian. */
     148#define IMAGE_FILE_MACHINE_M32R             UINT16_C(0x9041)
     149/** ARMv8 CPU, 64-bit mode. */
     150#define IMAGE_FILE_MACHINE_ARM64            UINT16_C(0xaa64)
    109151/** @} */
    110152
     
    123165#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP  UINT16_C(0x0400)
    124166#define IMAGE_FILE_NET_RUN_FROM_SWAP        UINT16_C(0x0800)
    125 #define IMAGE_FILE_SYSTEM                   UINT16_C(0x1000)
    126 #define IMAGE_FILE_DLL                      UINT16_C(0x2000)
     167#define IMAGE_FILE_SYSTEM                   UINT16_C(0x1000) /**< (COFF/I8086: Used to indicate 80186 instructions) */
     168#define IMAGE_FILE_DLL                      UINT16_C(0x2000) /**< (COFF/I8086: Used to indicate 80286 instructions) */
    127169#define IMAGE_FILE_UP_SYSTEM_ONLY           UINT16_C(0x4000)
    128170#define IMAGE_FILE_BYTES_REVERSED_HI        UINT16_C(0x8000)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette