PlatformInfoTypes.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /** @file
  2. @copyright
  3. Copyright 2020 - 2021 Intel Corporation. <BR>
  4. Copyright (c) 2021, American Megatrends International LLC. <BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef _PLATFORM_INFO_TYPES_H_
  8. #define _PLATFORM_INFO_TYPES_H_
  9. //
  10. // DIMM Connector type
  11. //
  12. typedef enum {
  13. DimmConnectorPth = 0x00, // Through hole connector
  14. DimmConnectorSmt, // Surface mount connector
  15. DimmConnectorMemoryDown, // Platform soldered DRAMs
  16. DimmConnectorIgnore, // Ignore connector type
  17. DimmConnectorMax
  18. } EFI_MEMORY_DIMM_CONNECTOR_TYPE;
  19. //
  20. // Platform types - used with EFI_PLATFORM_INFO BoardId
  21. //
  22. typedef enum {
  23. StartOfEfiPlatformTypeEnum = 0x00,
  24. //For PPO
  25. TypeNeonCityEPRP,
  26. TypeWolfPass,
  27. TypeTennesseePass,
  28. TypeHedtCRB,
  29. TypeLightningRidgeEXRP,
  30. TypeLightningRidgeEX8S1N,
  31. TypeBarkPeak,
  32. TypeYubaCityRP,
  33. TypeRidgeport,
  34. //End PPO
  35. TypeWilsonCityRP,
  36. TypeWilsonCityModular,
  37. TypeCoyotePass,
  38. TypeIdaville,
  39. TypeMoroCityRP,
  40. TypeBrightonCityRp,
  41. TypeJacobsville,
  42. TypeSnrSvp,
  43. TypeSnrSvpSodimm,
  44. TypeJacobsvilleMDV,
  45. TypeFrostCreekRP,
  46. TypeVictoriaCanyonRP,
  47. TypeArcherCityRP,
  48. TypeNeonCityEPECB,
  49. TypeIsoscelesPeak,
  50. TypeWilsonPointRP,
  51. TypeWilsonPointModular,
  52. TypeBretonSound,
  53. TypeWilsonCityPPV,
  54. TypeCooperCityRP,
  55. TypeWilsonCitySMT,
  56. TypeSnrSvpSodimmB,
  57. TypeArcherCityModular,
  58. TypeArcherCityEVB,
  59. TypeArcherCityXPV,
  60. TypeBigPineKey,
  61. TypeExperWorkStationRP,
  62. TypeJunctionCity,
  63. EndOfEfiPlatformTypeEnum
  64. } EFI_PLATFORM_TYPE;
  65. #define TypePlatformUnknown 0xFF
  66. #define TypePlatformMin StartOfEfiPlatformTypeEnum + 1
  67. #define TypePlatformMax EndOfEfiPlatformTypeEnum - 1
  68. #define TypePlatformDefault TypeWilsonPointRP
  69. //
  70. // CPU type: Standard (no MCP), -F, etc
  71. //
  72. typedef enum {
  73. CPU_TYPE_STD,
  74. CPU_TYPE_F,
  75. CPU_TYPE_P,
  76. CPU_TYPE_MAX
  77. } CPU_TYPE;
  78. #define CPU_TYPE_STD_MASK (1 << CPU_TYPE_STD)
  79. #define CPU_TYPE_F_MASK (1 << CPU_TYPE_F)
  80. #define CPU_TYPE_P_MASK (1 << CPU_TYPE_P)
  81. typedef enum {
  82. DaisyChainTopology = 0x00,
  83. InvSlotsDaisyChainTopology,
  84. TTopology
  85. } EFI_MEMORY_TOPOLOGY_TYPE;
  86. //
  87. // Values for SocketConfig
  88. //
  89. #define SOCKET_UNDEFINED 0
  90. #define SOCKET_4S 1
  91. #define SOCKET_HEDT 2
  92. #define SOCKET_1S 3
  93. #define SOCKET_1SWS 4
  94. #define SOCKET_8S 5
  95. #define SOCKET_2S 6
  96. #endif // #ifndef _PLATFORM_INFO_TYPES_H_