diff options
| author | Jan HrubĂ˝ <jhruby.web@gmail.com> | 2017-03-13 08:56:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-13 08:56:05 +0100 |
| commit | 665f4118f603c5858217ed7a2f2f824b18ff4fc5 (patch) | |
| tree | f0167041edf71e90f2331b5025f603392a8de67a /toolsrc/include/MachineType.h | |
| parent | 1bec0fcb73073b5b1719f454c368a63f1bff625e (diff) | |
| parent | 1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff) | |
| download | vcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.tar.gz vcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.zip | |
Merge pull request #1 from Microsoft/master
pull
Diffstat (limited to 'toolsrc/include/MachineType.h')
| -rw-r--r-- | toolsrc/include/MachineType.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/toolsrc/include/MachineType.h b/toolsrc/include/MachineType.h new file mode 100644 index 000000000..86efb85c5 --- /dev/null +++ b/toolsrc/include/MachineType.h @@ -0,0 +1,36 @@ +#pragma once +#include <cstdint> + +namespace vcpkg +{ + enum class MachineType : uint16_t + { + UNKNOWN = 0x0, // The contents of this field are assumed to be applicable to any machine type + AM33=0x1d3,//Matsushita AM33 + AMD64=0x8664,//x64 + ARM=0x1c0,//ARM little endian + ARM64=0xaa64,//ARM64 little endian + ARMNT=0x1c4,//ARM Thumb-2 little endian + EBC=0xebc,//EFI byte code + I386=0x14c,//Intel 386 or later processors and compatible processors + IA64=0x200,//Intel Itanium processor family + M32R=0x9041,//Mitsubishi M32R little endian + MIPS16=0x266,//MIPS16 + MIPSFPU=0x366,//MIPS with FPU + MIPSFPU16=0x466,//MIPS16 with FPU + POWERPC=0x1f0,//Power PC little endian + POWERPCFP=0x1f1,//Power PC with floating point support + R4000=0x166,//MIPS little endian + RISCV32=0x5032,//RISC-V 32-bit address space + RISCV64=0x5064,//RISC-V 64-bit address space + RISCV128=0x5128,//RISC-V 128-bit address space + SH3=0x1a2,//Hitachi SH3 + SH3DSP=0x1a3,//Hitachi SH3 DSP + SH4=0x1a6,//Hitachi SH4 + SH5=0x1a8,//Hitachi SH5 + THUMB=0x1c2,//Thumb + WCEMIPSV2=0x169,//MIPS little-endian WCE v2 + }; + + MachineType getMachineType(const uint16_t value); +} |
