From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.11417.1628181517310920473 for ; Thu, 05 Aug 2021 09:38:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=eXEioFY3; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [167.220.2.74]) by linux.microsoft.com (Postfix) with ESMTPSA id E76BF20B36E8; Thu, 5 Aug 2021 09:38:36 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E76BF20B36E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1628181517; bh=kuiTmrYkyni0Xl/9TwKNJP+sSbnH+gcC+LD245RAEDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eXEioFY30pmeuA16ee0u2HDZSfa3YPBt+v4ifsWnOcTNthqENliOcBhB5jOnzOIgi 80/ywX1ga514Qwg5l+cEO70+lGXa4ZHLFKk7SCYmTOiqvkwWQrk5H/P0XM9QIvbe0K ZA04R64MP1GM/UEsxcBB6u4Ja4vUAFW7kh9U7mcA= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-platforms][PATCH v1 2/4] MinPlatformPkg/AcpiPlatform: Use CreatorId and CreatorRevision in headers Date: Thu, 5 Aug 2021 12:38:14 -0400 Message-Id: <20210805163816.2757-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20210805163816.2757-1-mikuback@linux.microsoft.com> References: <20210805163816.2757-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3533 Updates InitializeHeader() to fill in the CreatorId and CreatorRevision values from PCDs instead of being hardcoded to zero. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki --- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c= b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c index 2b51c34ef2fd..6919e3196143 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c @@ -572,8 +572,8 @@ InitializeHeader ( ); =20 Header->OemRevision =3D OemRevision; - Header->CreatorId =3D 0; - Header->CreatorRevision =3D 0; + Header->CreatorId =3D PcdGet32 (PcdAcpiDefaultCreatorId); + Header->CreatorRevision =3D PcdGet32 (PcdAcpiDefaultCreatorRevision); =20 return EFI_SUCCESS; } --=20 2.28.0.windows.1