xref: /minix3/external/bsd/file/dist/magic/magdir/intel (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras
2ef01931fSBen Gras#------------------------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# $File: intel,v 1.12 2014/04/30 21:41:02 christos Exp $
4ef01931fSBen Gras# intel:  file(1) magic for x86 Unix
5ef01931fSBen Gras#
6ef01931fSBen Gras# Various flavors of x86 UNIX executable/object (other than Xenix, which
7ef01931fSBen Gras# is in "microsoft").  DOS is in "msdos"; the ambitious soul can do
8ef01931fSBen Gras# Windows as well.
9ef01931fSBen Gras#
10ef01931fSBen Gras# Windows NT belongs elsewhere, as you need x86 and MIPS and Alpha and
11ef01931fSBen Gras# whatever comes next (HP-PA Hummingbird?).  OS/2 may also go elsewhere
12ef01931fSBen Gras# as well, if, as, and when IBM makes it portable.
13ef01931fSBen Gras#
14ef01931fSBen Gras# The `versions' should be un-commented if they work for you.
15ef01931fSBen Gras# (Was the problem just one of endianness?)
16ef01931fSBen Gras#
17ef01931fSBen Gras0	leshort		0502		basic-16 executable
18ef01931fSBen Gras>12	lelong		>0		not stripped
19*0a6a1f1dSLionel Sambuc#>22	leshort		>0		- version %d
20ef01931fSBen Gras0	leshort		0503		basic-16 executable (TV)
21ef01931fSBen Gras>12	lelong		>0		not stripped
22*0a6a1f1dSLionel Sambuc#>22	leshort		>0		- version %d
23ef01931fSBen Gras0	leshort		0510		x86 executable
24ef01931fSBen Gras>12	lelong		>0		not stripped
25ef01931fSBen Gras0	leshort		0511		x86 executable (TV)
26ef01931fSBen Gras>12	lelong		>0		not stripped
27ef01931fSBen Gras0	leshort		=0512		iAPX 286 executable small model (COFF)
28ef01931fSBen Gras>12	lelong		>0		not stripped
29*0a6a1f1dSLionel Sambuc#>22	leshort		>0		- version %d
30ef01931fSBen Gras0	leshort		=0522		iAPX 286 executable large model (COFF)
31ef01931fSBen Gras>12	lelong		>0		not stripped
32*0a6a1f1dSLionel Sambuc#>22	leshort		>0		- version %d
33ef01931fSBen Gras# SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan
34ef01931fSBen Gras0	leshort		=0514		80386 COFF executable
35ef01931fSBen Gras>12	lelong		>0		not stripped
36*0a6a1f1dSLionel Sambuc>22	leshort		>0		- version %d
37ef01931fSBen Gras
38ef01931fSBen Gras# rom: file(1) magic for BIOS ROM Extensions found in intel machines
39ef01931fSBen Gras#      mapped into memory between 0xC0000 and 0xFFFFF
4084d9c625SLionel Sambuc# From Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
41ef01931fSBen Gras0        beshort         0x55AA       BIOS (ia32) ROM Ext.
42ef01931fSBen Gras>5       string          USB          USB
43ef01931fSBen Gras>7       string          LDR          UNDI image
44ef01931fSBen Gras>30      string          IBM          IBM comp. Video
45ef01931fSBen Gras>26      string          Adaptec      Adaptec
46ef01931fSBen Gras>28      string          Adaptec      Adaptec
47ef01931fSBen Gras>42      string          PROMISE      Promise
48ef01931fSBen Gras>2       byte            x            (%d*512)
49835f6802SDirk Vogt
50835f6802SDirk Vogt# Flash descriptors for Intel SPI flash roms.
51835f6802SDirk Vogt# From Dr. Jesus <j@hug.gs>
52835f6802SDirk Vogt0	lelong		0x0ff0a55a	Intel serial flash for ICH/PCH ROM <= 5 or 3400 series A-step
53835f6802SDirk Vogt16	lelong		0x0ff0a55a	Intel serial flash for PCH ROM
54