Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 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. |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 15 | */ |
| 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 Prajapati | b90b94d | 2015-09-11 13:51:38 -0700 | [diff] [blame] | 40 | #define CBMEM_ID_MMA_DATA 0x4D4D4144 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 41 | #define CBMEM_ID_MPTABLE 0x534d5054 |
| 42 | #define CBMEM_ID_MRCDATA 0x4d524344 |
Furquan Shaikh | 69139e0 | 2015-06-10 20:43:24 -0700 | [diff] [blame] | 43 | #define CBMEM_ID_MTC 0xcb31d31c |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 44 | #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 Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 59 | #define CBMEM_ID_STAGEx_META 0x57a9e000 |
| 60 | #define CBMEM_ID_STAGEx_CACHE 0x57a9e100 |
Paul Menzel | 6757267 | 2015-07-08 22:36:22 +0200 | [diff] [blame] | 61 | #define CBMEM_ID_TCPA_LOG 0x54435041 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 62 | #define CBMEM_ID_TIMESTAMP 0x54494d45 |
| 63 | #define CBMEM_ID_VBOOT_HANDOFF 0x780074f0 |
Aaron Durbin | b593366 | 2015-10-07 16:03:41 -0500 | [diff] [blame] | 64 | #define CBMEM_ID_VBOOT_SEL_REG 0x780074f1 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 65 | #define CBMEM_ID_VBOOT_WORKBUF 0x78007343 |
Hung-Te Lin | b15a0d0 | 2015-07-13 15:49:57 +0800 | [diff] [blame] | 66 | #define CBMEM_ID_VPD 0x56504420 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 67 | #define CBMEM_ID_WIFI_CALIBRATION 0x57494649 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 68 | |
| 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 Gardner | acd47ae | 2015-11-19 10:26:11 -0600 | [diff] [blame] | 85 | { CBMEM_ID_HOB_POINTER, "HOB " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 86 | { CBMEM_ID_IMD_ROOT, "IMD ROOT " }, \ |
| 87 | { CBMEM_ID_IMD_SMALL, "IMD SMALL " }, \ |
| 88 | { CBMEM_ID_MEMINFO, "MEM INFO " }, \ |
Pratik Prajapati | b90b94d | 2015-09-11 13:51:38 -0700 | [diff] [blame] | 89 | { CBMEM_ID_MMA_DATA, "MMA DATA " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 90 | { CBMEM_ID_MPTABLE, "SMP TABLE " }, \ |
| 91 | { CBMEM_ID_MRCDATA, "MRC DATA " }, \ |
Furquan Shaikh | 69139e0 | 2015-06-10 20:43:24 -0700 | [diff] [blame] | 92 | { CBMEM_ID_MTC, "MTC " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 93 | { 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 Menzel | acf411d | 2015-07-08 22:35:21 +0200 | [diff] [blame] | 107 | { CBMEM_ID_TCPA_LOG, "TCPA LOG " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 108 | { CBMEM_ID_TIMESTAMP, "TIME STAMP " }, \ |
| 109 | { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " }, \ |
Aaron Durbin | b593366 | 2015-10-07 16:03:41 -0500 | [diff] [blame] | 110 | { CBMEM_ID_VBOOT_SEL_REG, "VBOOT SEL " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 111 | { CBMEM_ID_VBOOT_WORKBUF, "VBOOT WORK " }, \ |
Hung-Te Lin | b15a0d0 | 2015-07-13 15:49:57 +0800 | [diff] [blame] | 112 | { CBMEM_ID_VPD, "VPD " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 113 | { CBMEM_ID_WIFI_CALIBRATION, "WIFI CLBR " }, |
| 114 | #endif /* _CBMEM_ID_H_ */ |