soc/intel/common: Add metadata tag definition for crashlog
When parsing descriptor table the record can have tag type = 7. This tag contains metadata depending on SOC. The platform may choose to parse it based on implementation of crashlog. BUG=b:262501347 TEST=Able to build google/rex. Change-Id: I60dda06950974f7949fa5635141e4b7798c4d1f2 Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76833 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
6cba976989
commit
b757facac2
|
@ -25,9 +25,18 @@
|
|||
|
||||
#define INVALID_CRASHLOG_RECORD 0xdeadbeef
|
||||
|
||||
/* Tag field definitions */
|
||||
/*
|
||||
* Tag field definitions.
|
||||
* Each region pointed by the descriptor table contains TAG information. This TAG information
|
||||
* is used to identify the type of SRAM the region belongs to, for example:
|
||||
* - TAG 0 represents the SoC PMC region
|
||||
* - TAG 1 represents the IOE PMC region
|
||||
* - TAG 7 represents a special case aka metadata information. This metadata information can be
|
||||
* SoC specific too.
|
||||
*/
|
||||
#define CRASHLOG_DESCRIPTOR_TABLE_TAG_SOC 0x0
|
||||
#define CRASHLOG_DESCRIPTOR_TABLE_TAG_IOE 0x1
|
||||
#define CRASHLOG_DESCRIPTOR_TABLE_TAG_META 0x7
|
||||
|
||||
/* PMC crashlog discovery structs */
|
||||
typedef union {
|
||||
|
|
Loading…
Reference in New Issue