MemCommon.h 776 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /** @file
  2. Mem common Hearder File
  3. @copyright
  4. Copyright 2017 - 2021 Intel Corporation. <BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef __MEM_COMMON_H__
  8. #define __MEM_COMMON_H__
  9. #define MAX_CH ((MAX_IMC)*(MAX_MC_CH)) // Max channels per socket
  10. typedef enum {
  11. ReservedMemSs,
  12. Ddr4MemSs = 1,
  13. Ddr5MemSs = 2,
  14. LpDdr4MemSs = 3,
  15. LpDdr5MemSs = 4,
  16. Hbm2MemSs = 5,
  17. MrcMstMax,
  18. MrcMstDelim = MAX_INT32
  19. } MRC_MST;
  20. typedef enum {
  21. TYPE_SCF_BAR = 0,
  22. TYPE_PCU_BAR,
  23. TYPE_MEM_BAR0,
  24. TYPE_MEM_BAR1,
  25. TYPE_MEM_BAR2,
  26. TYPE_MEM_BAR3,
  27. TYPE_MEM_BAR4,
  28. TYPE_MEM_BAR5,
  29. TYPE_MEM_BAR6,
  30. TYPE_MEM_BAR7,
  31. TYPE_SBREG_BAR,
  32. TYPE_MAX_MMIO_BAR
  33. } MMIO_BARS;
  34. #endif //#ifndef __MEM_COMMON_H__