intel 2.1 KB

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