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:
Maximilian Brune 2025-12-12 01:06:45 +01:00 committed by Matt DeVillier
commit 53350d5c8d

View file

@ -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;