You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
5.2 KiB

  1. /*
  2. * This file is part of the coreboot project.
  3. *
  4. * Copyright (C) 2009 coresystems GmbH
  5. * Copyright (C) 2013 Google, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; version 2 of the License.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef _CBMEM_ID_H_
  17. #define _CBMEM_ID_H_
  18. #define CBMEM_ID_ACPI 0x41435049
  19. #define CBMEM_ID_ACPI_GNVS 0x474e5653
  20. #define CBMEM_ID_ACPI_GNVS_PTR 0x474e5650
  21. #define CBMEM_ID_AFTER_CAR 0xc4787a93
  22. #define CBMEM_ID_AGESA_RUNTIME 0x41474553
  23. #define CBMEM_ID_AMDMCT_MEMINFO 0x494D454E
  24. #define CBMEM_ID_CAR_GLOBALS 0xcac4e6a3
  25. #define CBMEM_ID_CBTABLE 0x43425442
  26. #define CBMEM_ID_CBTABLE_FWD 0x43425443
  27. #define CBMEM_ID_CONSOLE 0x434f4e53
  28. #define CBMEM_ID_COVERAGE 0x47434f56
  29. #define CBMEM_ID_EHCI_DEBUG 0xe4c1deb9
  30. #define CBMEM_ID_ELOG 0x454c4f47
  31. #define CBMEM_ID_FREESPACE 0x46524545
  32. #define CBMEM_ID_FSP_RESERVED_MEMORY 0x46535052
  33. #define CBMEM_ID_FSP_RUNTIME 0x52505346
  34. #define CBMEM_ID_GDT 0x4c474454
  35. #define CBMEM_ID_HOB_POINTER 0x484f4221
  36. #define CBMEM_ID_IGD_OPREGION 0x4f444749
  37. #define CBMEM_ID_IMD_ROOT 0xff4017ff
  38. #define CBMEM_ID_IMD_SMALL 0x53a11439
  39. #define CBMEM_ID_MEMINFO 0x494D454D
  40. #define CBMEM_ID_MMA_DATA 0x4D4D4144
  41. #define CBMEM_ID_MPTABLE 0x534d5054
  42. #define CBMEM_ID_MRCDATA 0x4d524344
  43. #define CBMEM_ID_VAR_MRCDATA 0x4d524345
  44. #define CBMEM_ID_MTC 0xcb31d31c
  45. #define CBMEM_ID_NONE 0x00000000
  46. #define CBMEM_ID_PIRQ 0x49525154
  47. #define CBMEM_ID_POWER_STATE 0x50535454
  48. #define CBMEM_ID_RAM_OOPS 0x05430095
  49. #define CBMEM_ID_RAMSTAGE 0x9a357a9e
  50. #define CBMEM_ID_RAMSTAGE_CACHE 0x9a3ca54e
  51. #define CBMEM_ID_REFCODE 0x04efc0de
  52. #define CBMEM_ID_REFCODE_CACHE 0x4efc0de5
  53. #define CBMEM_ID_RESUME 0x5245534d
  54. #define CBMEM_ID_RESUME_SCRATCH 0x52455343
  55. #define CBMEM_ID_ROMSTAGE_INFO 0x47545352
  56. #define CBMEM_ID_ROMSTAGE_RAM_STACK 0x90357ac4
  57. #define CBMEM_ID_ROOT 0xff4007ff
  58. #define CBMEM_ID_SMBIOS 0x534d4254
  59. #define CBMEM_ID_SMM_SAVE_SPACE 0x07e9acee
  60. #define CBMEM_ID_STAGEx_META 0x57a9e000
  61. #define CBMEM_ID_STAGEx_CACHE 0x57a9e100
  62. #define CBMEM_ID_STAGEx_RAW 0x57a9e200
  63. #define CBMEM_ID_STORAGE_DATA 0x53746f72
  64. #define CBMEM_ID_TCPA_LOG 0x54435041
  65. #define CBMEM_ID_TIMESTAMP 0x54494d45
  66. #define CBMEM_ID_VBOOT_HANDOFF 0x780074f0
  67. #define CBMEM_ID_VBOOT_SEL_REG 0x780074f1
  68. #define CBMEM_ID_VBOOT_WORKBUF 0x78007343
  69. #define CBMEM_ID_VPD 0x56504420
  70. #define CBMEM_ID_WIFI_CALIBRATION 0x57494649
  71. #define CBMEM_ID_EC_HOSTEVENT 0x63ccbbc3
  72. #define CBMEM_ID_EXT_VBT 0x69866684
  73. #define CBMEM_ID_ROM0 0x524f4d30
  74. #define CBMEM_ID_ROM1 0x524f4d31
  75. #define CBMEM_ID_ROM2 0x524f4d32
  76. #define CBMEM_ID_ROM3 0x524f4d33
  77. #define CBMEM_ID_TO_NAME_TABLE \
  78. { CBMEM_ID_ACPI, "ACPI " }, \
  79. { CBMEM_ID_ACPI_GNVS, "ACPI GNVS " }, \
  80. { CBMEM_ID_ACPI_GNVS_PTR, "GNVS PTR " }, \
  81. { CBMEM_ID_AGESA_RUNTIME, "AGESA RSVD " }, \
  82. { CBMEM_ID_AFTER_CAR, "AFTER CAR " }, \
  83. { CBMEM_ID_AMDMCT_MEMINFO, "AMDMEM INFO" }, \
  84. { CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" }, \
  85. { CBMEM_ID_CBTABLE, "COREBOOT " }, \
  86. { CBMEM_ID_CBTABLE_FWD, "COREBOOTFWD" }, \
  87. { CBMEM_ID_CONSOLE, "CONSOLE " }, \
  88. { CBMEM_ID_COVERAGE, "COVERAGE " }, \
  89. { CBMEM_ID_EHCI_DEBUG, "USBDEBUG " }, \
  90. { CBMEM_ID_ELOG, "ELOG " }, \
  91. { CBMEM_ID_FREESPACE, "FREE SPACE " }, \
  92. { CBMEM_ID_FSP_RESERVED_MEMORY, "FSP MEMORY " }, \
  93. { CBMEM_ID_FSP_RUNTIME, "FSP RUNTIME" }, \
  94. { CBMEM_ID_GDT, "GDT " }, \
  95. { CBMEM_ID_HOB_POINTER, "HOB " }, \
  96. { CBMEM_ID_IMD_ROOT, "IMD ROOT " }, \
  97. { CBMEM_ID_IMD_SMALL, "IMD SMALL " }, \
  98. { CBMEM_ID_MEMINFO, "MEM INFO " }, \
  99. { CBMEM_ID_MMA_DATA, "MMA DATA " }, \
  100. { CBMEM_ID_MPTABLE, "SMP TABLE " }, \
  101. { CBMEM_ID_MRCDATA, "MRC DATA " }, \
  102. { CBMEM_ID_VAR_MRCDATA, "VARMRC DATA" }, \
  103. { CBMEM_ID_MTC, "MTC " }, \
  104. { CBMEM_ID_PIRQ, "IRQ TABLE " }, \
  105. { CBMEM_ID_POWER_STATE, "POWER STATE" }, \
  106. { CBMEM_ID_RAM_OOPS, "RAMOOPS " }, \
  107. { CBMEM_ID_RAMSTAGE_CACHE, "RAMSTAGE $ " }, \
  108. { CBMEM_ID_RAMSTAGE, "RAMSTAGE " }, \
  109. { CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, \
  110. { CBMEM_ID_REFCODE, "REFCODE " }, \
  111. { CBMEM_ID_RESUME, "ACPI RESUME" }, \
  112. { CBMEM_ID_RESUME_SCRATCH, "ACPISCRATCH" }, \
  113. { CBMEM_ID_ROMSTAGE_INFO, "ROMSTAGE " }, \
  114. { CBMEM_ID_ROMSTAGE_RAM_STACK, "ROMSTG STCK" }, \
  115. { CBMEM_ID_ROOT, "CBMEM ROOT " }, \
  116. { CBMEM_ID_SMBIOS, "SMBIOS " }, \
  117. { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " }, \
  118. { CBMEM_ID_STORAGE_DATA, "SD/MMC/eMMC" }, \
  119. { CBMEM_ID_TCPA_LOG, "TCPA LOG " }, \
  120. { CBMEM_ID_TIMESTAMP, "TIME STAMP " }, \
  121. { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " }, \
  122. { CBMEM_ID_VBOOT_SEL_REG, "VBOOT SEL " }, \
  123. { CBMEM_ID_VBOOT_WORKBUF, "VBOOT WORK " }, \
  124. { CBMEM_ID_VPD, "VPD " }, \
  125. { CBMEM_ID_WIFI_CALIBRATION, "WIFI CLBR " }, \
  126. { CBMEM_ID_EC_HOSTEVENT, "EC HOSTEVENT"}, \
  127. { CBMEM_ID_EXT_VBT, "EXT VBT"}, \
  128. { CBMEM_ID_ROM0, "VGA ROM #0 "}, \
  129. { CBMEM_ID_ROM1, "VGA ROM #1 "}, \
  130. { CBMEM_ID_ROM2, "VGA ROM #2 "}, \
  131. { CBMEM_ID_ROM3, "VGA ROM #3 "},
  132. #endif /* _CBMEM_ID_H_ */