acpi: Support MSDM table signature as SLIC

Accept an MSDM table (a newer revision of SLIC, with similar
ACPI structure) to advertise SLIC support.

Tested, Windows registers the digital license.

Change-Id: Ic3a1374c8a4880111a30662823c3be99008eedd3
Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44995
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Benjamin Doron 2020-09-12 02:55:57 +00:00 committed by Patrick Georgi
parent 12d48cdf67
commit 2b2dc0c6ae
1 changed files with 2 additions and 1 deletions

View File

@ -1367,7 +1367,8 @@ unsigned long write_acpi_tables(unsigned long start)
if (slic_file if (slic_file
&& (slic_file->length > slic_size && (slic_file->length > slic_size
|| slic_file->length < sizeof(acpi_header_t) || slic_file->length < sizeof(acpi_header_t)
|| memcmp(slic_file->signature, "SLIC", 4) != 0)) { || (memcmp(slic_file->signature, "SLIC", 4) != 0
&& memcmp(slic_file->signature, "MSDM", 4) != 0))) {
slic_file = 0; slic_file = 0;
} }