diff options
author | Francois Toguo <francois.toguo.fotso@intel.com> | 2021-01-21 09:55:19 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-04 10:21:02 +0000 |
commit | 522e0dbdaa46dde5363ad4c50a11938ae2f17a0d (patch) | |
tree | 7f4c2ddd84f8069b9f2fad2a9c0586ed3a959a5f /src/include/acpi | |
parent | 5f30ae3714d7535d3ce061b30e3292c6ac62cb6f (diff) | |
download | coreboot-522e0dbdaa46dde5363ad4c50a11938ae2f17a0d.tar.xz |
acpi: Add support for reporting CrashLog in BERT table
Crash Data are collected and sent to the OS via the ACPI BERT.
BUG=None
TEST=Built, and BERT successfully generated in the crashLog flow.
Signed-off-by: Francois Toguo <francois.toguo.fotso@intel.com>
Change-Id: I00e390d735d61beac2e89a726e39119d9b06b3df
Signed-off-by: Nikunj A. Dadhania <nikunj.dadhania@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49799
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/include/acpi')
-rw-r--r-- | src/include/acpi/acpi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index fa24902331..058c0d0217 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -1075,6 +1075,10 @@ unsigned long acpi_create_hest_error_source(acpi_hest_t *hest, void acpi_create_lpit(acpi_lpit_t *lpit); unsigned long acpi_create_lpi_desc_ncst(acpi_lpi_desc_ncst_t *lpi_desc, uint16_t uid); +/* For crashlog. */ +bool acpi_is_boot_error_src_present(void); +void acpi_soc_fill_bert(acpi_bert_t *bert, void **region, size_t *length); + /* For ACPI S3 support. */ void __noreturn acpi_resume(void *wake_vec); void mainboard_suspend_resume(void); |