|
@@ -359,7 +359,7 @@ void acpi_ghes_add_fw_cfg(AcpiGhesState *ags, FWCfgState *s,
|
|
|
|
|
|
/* Create a read-write fw_cfg file for Address */
|
|
|
fw_cfg_add_file_callback(s, ACPI_HW_ERROR_ADDR_FW_CFG_FILE, NULL, NULL,
|
|
|
- NULL, &(ags->ghes_addr_le), sizeof(ags->ghes_addr_le), false);
|
|
|
+ NULL, &(ags->hw_error_le), sizeof(ags->hw_error_le), false);
|
|
|
|
|
|
ags->present = true;
|
|
|
}
|
|
@@ -385,7 +385,7 @@ void ghes_record_cper_errors(const void *cper, size_t len,
|
|
|
}
|
|
|
ags = &acpi_ged_state->ghes_state;
|
|
|
|
|
|
- start_addr = le64_to_cpu(ags->ghes_addr_le);
|
|
|
+ start_addr = le64_to_cpu(ags->hw_error_le);
|
|
|
|
|
|
start_addr += source_id * sizeof(uint64_t);
|
|
|
|