include/acpi/acpi_apei.h: Add internal acpi_head_t struct
Each error source descriptor basically has these values at the beginning. The error source descriptors are added in the follow up patches. Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: Ic6873cb8cf7373435be3ce26382aa8ae37cd5938 Reviewed-on: https://review.coreboot.org/c/coreboot/+/90481 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
5001b07f9c
commit
53350d5c8d
1 changed files with 11 additions and 0 deletions
|
|
@ -91,6 +91,17 @@ typedef struct ghes_record {
|
|||
u32 err_sts_blk_len;
|
||||
} __packed ghes_record_t;
|
||||
|
||||
// internal struct only. It is common between all Error Source Descriptors.
|
||||
struct __packed apei_esd_header {
|
||||
u16 type;
|
||||
u16 source_id;
|
||||
u16 reserved;
|
||||
u8 flags;
|
||||
u8 enabled;
|
||||
u32 prealloc_record_count;
|
||||
u32 max_sections_per_record;
|
||||
};
|
||||
|
||||
/* BERT (Boot Error Record Table) */
|
||||
typedef struct acpi_bert {
|
||||
acpi_header_t header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue