blob: 46c5d49e6be9e1c2c0bb110be358a0b3adf2b87f [file] [log] [blame]
Marc Jonesa8bda432015-06-04 23:36:01 -06001/*
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.
Marc Jonesa8bda432015-06-04 23:36:01 -060015 */
16
17#ifndef _CBMEM_ID_H_
18#define _CBMEM_ID_H_
19
20#define CBMEM_ID_ACPI 0x41435049
21#define CBMEM_ID_ACPI_GNVS 0x474e5653
22#define CBMEM_ID_ACPI_GNVS_PTR 0x474e5650
23#define CBMEM_ID_AGESA_RUNTIME 0x41474553
24#define CBMEM_ID_AMDMCT_MEMINFO 0x494D454E
25#define CBMEM_ID_CAR_GLOBALS 0xcac4e6a3
26#define CBMEM_ID_CBTABLE 0x43425442
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
Pratik Prajapatib90b94d2015-09-11 13:51:38 -070040#define CBMEM_ID_MMA_DATA 0x4D4D4144
Marc Jonesa8bda432015-06-04 23:36:01 -060041#define CBMEM_ID_MPTABLE 0x534d5054
42#define CBMEM_ID_MRCDATA 0x4d524344
Furquan Shaikh69139e02015-06-10 20:43:24 -070043#define CBMEM_ID_MTC 0xcb31d31c
Marc Jonesa8bda432015-06-04 23:36:01 -060044#define CBMEM_ID_NONE 0x00000000
45#define CBMEM_ID_PIRQ 0x49525154
46#define CBMEM_ID_POWER_STATE 0x50535454
47#define CBMEM_ID_RAM_OOPS 0x05430095
48#define CBMEM_ID_RAMSTAGE 0x9a357a9e
49#define CBMEM_ID_RAMSTAGE_CACHE 0x9a3ca54e
50#define CBMEM_ID_REFCODE 0x04efc0de
51#define CBMEM_ID_REFCODE_CACHE 0x4efc0de5
52#define CBMEM_ID_RESUME 0x5245534d
53#define CBMEM_ID_RESUME_SCRATCH 0x52455343
54#define CBMEM_ID_ROMSTAGE_INFO 0x47545352
55#define CBMEM_ID_ROMSTAGE_RAM_STACK 0x90357ac4
56#define CBMEM_ID_ROOT 0xff4007ff
57#define CBMEM_ID_SMBIOS 0x534d4254
58#define CBMEM_ID_SMM_SAVE_SPACE 0x07e9acee
Marc Jonesa8bda432015-06-04 23:36:01 -060059#define CBMEM_ID_STAGEx_META 0x57a9e000
60#define CBMEM_ID_STAGEx_CACHE 0x57a9e100
Paul Menzel67572672015-07-08 22:36:22 +020061#define CBMEM_ID_TCPA_LOG 0x54435041
Marc Jonesa8bda432015-06-04 23:36:01 -060062#define CBMEM_ID_TIMESTAMP 0x54494d45
63#define CBMEM_ID_VBOOT_HANDOFF 0x780074f0
Aaron Durbinb5933662015-10-07 16:03:41 -050064#define CBMEM_ID_VBOOT_SEL_REG 0x780074f1
Marc Jonesa8bda432015-06-04 23:36:01 -060065#define CBMEM_ID_VBOOT_WORKBUF 0x78007343
Hung-Te Linb15a0d02015-07-13 15:49:57 +080066#define CBMEM_ID_VPD 0x56504420
Marc Jonesa8bda432015-06-04 23:36:01 -060067#define CBMEM_ID_WIFI_CALIBRATION 0x57494649
Marc Jonesa8bda432015-06-04 23:36:01 -060068
69#define CBMEM_ID_TO_NAME_TABLE \
70 { CBMEM_ID_ACPI, "ACPI " }, \
71 { CBMEM_ID_ACPI_GNVS, "ACPI GNVS " }, \
72 { CBMEM_ID_ACPI_GNVS_PTR, "GNVS PTR " }, \
73 { CBMEM_ID_AGESA_RUNTIME, "AGESA RSVD " }, \
74 { CBMEM_ID_AMDMCT_MEMINFO, "AMDMEM INFO" }, \
75 { CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" }, \
76 { CBMEM_ID_CBTABLE, "COREBOOT " }, \
77 { CBMEM_ID_CONSOLE, "CONSOLE " }, \
78 { CBMEM_ID_COVERAGE, "COVERAGE " }, \
79 { CBMEM_ID_EHCI_DEBUG, "USBDEBUG " }, \
80 { CBMEM_ID_ELOG, "ELOG " }, \
81 { CBMEM_ID_FREESPACE, "FREE SPACE " }, \
82 { CBMEM_ID_FSP_RESERVED_MEMORY, "FSP MEMORY " }, \
83 { CBMEM_ID_FSP_RUNTIME, "FSP RUNTIME" }, \
84 { CBMEM_ID_GDT, "GDT " }, \
Ben Gardneracd47ae2015-11-19 10:26:11 -060085 { CBMEM_ID_HOB_POINTER, "HOB " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -060086 { CBMEM_ID_IMD_ROOT, "IMD ROOT " }, \
87 { CBMEM_ID_IMD_SMALL, "IMD SMALL " }, \
88 { CBMEM_ID_MEMINFO, "MEM INFO " }, \
Pratik Prajapatib90b94d2015-09-11 13:51:38 -070089 { CBMEM_ID_MMA_DATA, "MMA DATA " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -060090 { CBMEM_ID_MPTABLE, "SMP TABLE " }, \
91 { CBMEM_ID_MRCDATA, "MRC DATA " }, \
Furquan Shaikh69139e02015-06-10 20:43:24 -070092 { CBMEM_ID_MTC, "MTC " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -060093 { CBMEM_ID_PIRQ, "IRQ TABLE " }, \
94 { CBMEM_ID_POWER_STATE, "POWER STATE" }, \
95 { CBMEM_ID_RAM_OOPS, "RAMOOPS " }, \
96 { CBMEM_ID_RAMSTAGE_CACHE, "RAMSTAGE $ " }, \
97 { CBMEM_ID_RAMSTAGE, "RAMSTAGE " }, \
98 { CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, \
99 { CBMEM_ID_REFCODE, "REFCODE " }, \
100 { CBMEM_ID_RESUME, "ACPI RESUME" }, \
101 { CBMEM_ID_RESUME_SCRATCH, "ACPISCRATCH" }, \
102 { CBMEM_ID_ROMSTAGE_INFO, "ROMSTAGE " }, \
103 { CBMEM_ID_ROMSTAGE_RAM_STACK, "ROMSTG STCK" }, \
104 { CBMEM_ID_ROOT, "CBMEM ROOT " }, \
105 { CBMEM_ID_SMBIOS, "SMBIOS " }, \
106 { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " }, \
Paul Menzelacf411d2015-07-08 22:35:21 +0200107 { CBMEM_ID_TCPA_LOG, "TCPA LOG " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -0600108 { CBMEM_ID_TIMESTAMP, "TIME STAMP " }, \
109 { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " }, \
Aaron Durbinb5933662015-10-07 16:03:41 -0500110 { CBMEM_ID_VBOOT_SEL_REG, "VBOOT SEL " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -0600111 { CBMEM_ID_VBOOT_WORKBUF, "VBOOT WORK " }, \
Hung-Te Linb15a0d02015-07-13 15:49:57 +0800112 { CBMEM_ID_VPD, "VPD " }, \
Marc Jonesa8bda432015-06-04 23:36:01 -0600113 { CBMEM_ID_WIFI_CALIBRATION, "WIFI CLBR " },
114#endif /* _CBMEM_ID_H_ */