12 if (!
CONFIG(SOC_INTEL_CRASHLOG)) {
27 return (crashlog_size > 0);
33 size_t cpu_record_size, pmc_record_size;
34 size_t gesb_header_size;
47 gesb_header_size =
sizeof(*status);
56 "available region\n");
61 if (cpu_record_size) {
65 "would exceed available region\n",
70 cl_data, cpu_record_size);
75 if (pmc_record_size) {
79 "exceed available region\n");
86 "would exceed available region\n",
91 cl_data, pmc_record_size);
enum cb_err acpi_soc_get_bert_region(void **region, size_t *length)
static bool boot_error_src_present(void)
size_t bert_storage_remaining(void)
acpi_hest_generic_data_v300_t * bert_append_fw_err(acpi_generic_error_status_t *status)
acpi_generic_error_status_t * bert_new_event(guid_t *guid)
void * new_cper_fw_error_crashlog(acpi_generic_error_status_t *status, size_t cl_size)
int cl_get_total_data_size(void)
int cl_get_pmc_record_size(void)
int cl_get_cpu_record_size(void)
cb_err
coreboot error codes
@ CB_ERR
Generic error code.
@ CB_SUCCESS
Call completed successfully.
bool cl_fill_pmc_records(void *cl_record)
void collect_pmc_and_cpu_crashlog_from_srams(void)
bool discover_crashlog(void)
bool cl_fill_cpu_records(void *cl_record)
#define printk(level,...)
#define CPER_SEC_FW_ERR_REC_REF_GUID
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.