intel.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #define INTEL_CORE_1GEN 1
  2. #define INTEL_CORE_2GEN 2
  3. #define INTEL_CORE_LGA2011 3
  4. #define INTEL_VENDOR_ID 0x00008086
  5. /* DataSheet:
  6. * http://www.intel.com/content/www/us/en/processors/core/CoreTechnicalResources.html */
  7. #define INTEL_CORE_1GEN_BUSES 3
  8. static const uint16_t intel_core_1gen_buses[INTEL_CORE_1GEN_BUSES] = {
  9. 0xFF, 0x7F, 0x3F
  10. };
  11. #define INTEL_CORE_1GEN_DEVID 5
  12. static const uint32_t intel_core_1gen_devid[] = {
  13. /* Core i7-900 and Extreme Edition, Desktop */
  14. 0x2C01,
  15. /* Core i7-800 and i5-700 Desktop
  16. * Core i7-900 Mobile Processor Extreme Edition Series
  17. * Core i7-800, Core i7-700 Mobile */
  18. 0x2C81,
  19. /* Core-i5-600, i3-500 desktop, Pentium 6000, Desktop */
  20. 0x2D01,
  21. /* Core i7-900 and Extreme Edition, Desktop, 32 nm */
  22. 0x2D81,
  23. /* Xeon Processor C5500/C3500 Series */
  24. 0x2CC1
  25. };
  26. #define INTEL_CORE_2GEN_DEVID 8
  27. static const uint32_t intel_core_2gen_devid[INTEL_CORE_2GEN_DEVID] = {
  28. /* 2nd Generation Core Processor Family DRAM Controller */
  29. 0x01008086, 0x01048086,
  30. /* Xeon E3-1200 2nd Generation Core Processor Family DRAM Controller */
  31. 0x01088086, 0x010c8086,
  32. /* 3rd Generation Core Processor Family DRAM Controller */
  33. 0x01508086, 0x01548086, 0x01588086, 0x015c8086
  34. };
  35. /* PAM registers */
  36. /* 40h-46h of the System Address Docoder (SAD). */
  37. #define INTEL_CORE_1GEN_PAM(dev_bus) (1 << 31 | dev_bus << 16 | 0 << 11 | 1 << 8 | 0x40)
  38. /* 80h-86h */
  39. #define INTEL_CORE_2GEN_PAM 0x80000080