Skip to content

Commit

Permalink
JadePkg: APEI: Fix BERT table checksum incorrect
Browse files Browse the repository at this point in the history
This updates the checksum of the BERT table when it has modification.

Signed-off-by: Nhi Pham <npham@amperecomputing.com>
  • Loading branch information
nhivp committed Jan 29, 2021
1 parent dd2fdb0 commit bd88837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Platform/Ampere/JadePkg/Drivers/AcpiPlatformDxe/AcpiApei.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ AdjustBERTRegionLen (
*/
Table->BootErrorRegionLength = Len;

AcpiTableChecksum ((UINT8 *)Table, Table->Header.Length);
}

/*
Expand Down

0 comments on commit bd88837

Please sign in to comment.