intel revision 299236
121923Sdavidn
221923Sdavidn#------------------------------------------------------------------------------
321923Sdavidn# $File: intel,v 1.12 2014/04/30 21:41:02 christos Exp $
421923Sdavidn# intel:  file(1) magic for x86 Unix
521923Sdavidn#
621923Sdavidn# Various flavors of x86 UNIX executable/object (other than Xenix, which
721923Sdavidn# is in "microsoft").  DOS is in "msdos"; the ambitious soul can do
821923Sdavidn# Windows as well.
921923Sdavidn#
1021923Sdavidn# Windows NT belongs elsewhere, as you need x86 and MIPS and Alpha and
1121923Sdavidn# whatever comes next (HP-PA Hummingbird?).  OS/2 may also go elsewhere
1221923Sdavidn# as well, if, as, and when IBM makes it portable.
1321923Sdavidn#
1421923Sdavidn# The `versions' should be un-commented if they work for you.
1521923Sdavidn# (Was the problem just one of endianness?)
1621923Sdavidn#
1721923Sdavidn0	leshort		0502		basic-16 executable
1821923Sdavidn>12	lelong		>0		not stripped
1921923Sdavidn#>22	leshort		>0		- version %d
2021923Sdavidn0	leshort		0503		basic-16 executable (TV)
2121923Sdavidn>12	lelong		>0		not stripped
2221923Sdavidn#>22	leshort		>0		- version %d
2321923Sdavidn0	leshort		0510		x86 executable
2499112Sobrien>12	lelong		>0		not stripped
2599112Sobrien0	leshort		0511		x86 executable (TV)
2699112Sobrien>12	lelong		>0		not stripped
2721923Sdavidn0	leshort		=0512		iAPX 286 executable small model (COFF)
2821923Sdavidn>12	lelong		>0		not stripped
2921923Sdavidn#>22	leshort		>0		- version %d
3021923Sdavidn0	leshort		=0522		iAPX 286 executable large model (COFF)
3121923Sdavidn>12	lelong		>0		not stripped
32230549Strociny#>22	leshort		>0		- version %d
3321923Sdavidn# SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan
3421923Sdavidn0	leshort		=0514		80386 COFF executable
3521923Sdavidn>12	lelong		>0		not stripped
36200462Sdelphij>22	leshort		>0		- version %d
3794611Sdwmalone
3821923Sdavidn# rom: file(1) magic for BIOS ROM Extensions found in intel machines
3921923Sdavidn#      mapped into memory between 0xC0000 and 0xFFFFF
4021923Sdavidn# From Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
4121923Sdavidn0        beshort         0x55AA       BIOS (ia32) ROM Ext.
4221923Sdavidn>5       string          USB          USB
4321923Sdavidn>7       string          LDR          UNDI image
4421923Sdavidn>30      string          IBM          IBM comp. Video
4521923Sdavidn>26      string          Adaptec      Adaptec
4621923Sdavidn>28      string          Adaptec      Adaptec
4725672Sdavidn>42      string          PROMISE      Promise
4825672Sdavidn>2       byte            x            (%d*512)
4925672Sdavidn
5025672Sdavidn# Flash descriptors for Intel SPI flash roms.
5125672Sdavidn# From Dr. Jesus <j@hug.gs>
5225672Sdavidn0	lelong		0x0ff0a55a	Intel serial flash for ICH/PCH ROM <= 5 or 3400 series A-step
5325672Sdavidn16	lelong		0x0ff0a55a	Intel serial flash for PCH ROM
5425672Sdavidn