From nobody Thu May 9 19:16:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94984+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94984+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1665482630; cv=none; d=zohomail.com; s=zohoarc; b=EmUAVi8g9/ZkUMZrQqXFA1Ol03O+4cgvIW/0zqhcOV+NnRVU7suZvN7mo5Hii6qfFagO7XvIkT6h1pZkTd3w6LVnOLVNm7KSQwnyqnFvQ+9nKtcOh9KDBfA3RDMgn37hjOmXGwdLoqmx82sItReST6UJYUvQabeAkUQUQWwFxu4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665482630; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=2vT/RGgZUs2JrLUElu1NAmUwvV6n2yzI+WOwseEbleY=; b=BuSkuHMCQpAVHgn1SMv6CRwCZy5yMZKfOFtwA4PsO6P1W1VkJDFvqK2feA78eNuT7myJp97h+Z07q5TgqY/HM36e+yGpRE2e6fRpyLCGYx8yp+e6a+SBdLDQQOikL/RWZWw4UUdfCKDIng+k4PgSWDIjAuFYOKqoRYzFWRFNZK4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94984+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1665482629938499.1708620581094; Tue, 11 Oct 2022 03:03:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ScDMYY1788612xDjg5UKjhSB; Tue, 11 Oct 2022 03:03:49 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.5395.1665482627583308771 for ; Tue, 11 Oct 2022 03:03:47 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-393-NbTT9aXKMW-1wbL31EKZBA-1; Tue, 11 Oct 2022 06:03:41 -0400 X-MC-Unique: NbTT9aXKMW-1wbL31EKZBA-1 X-Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 98B61805AC8; Tue, 11 Oct 2022 10:03:40 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.195.183]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A393207B35E; Tue, 11 Oct 2022 10:03:40 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id AF491180061A; Tue, 11 Oct 2022 12:03:38 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Liming Gao , Pawel Polawski , Jordan Justen , Oliver Steffen , Julien Grall , Gerd Hoffmann , Anthony Perard , Jian J Wang Subject: [edk2-devel] [PATCH v2 1/2] OvmfPkg/SmbiosPlatformDxe: use PcdFirmware* Date: Tue, 11 Oct 2022 12:03:37 +0200 Message-Id: <20221011100338.2140696-2-kraxel@redhat.com> In-Reply-To: <20221011100338.2140696-1-kraxel@redhat.com> References: <20221011100338.2140696-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: 4KqkU1GtgveYBQTvPeKHs4owx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1665482629; bh=QIwVTBnLHtyR8TG9CccHSHWNvBa6H/cC4QgYJhUojdc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=BPosuC/h+NSjxGr91BBV4qkT9mXbbEo84KiuUiouBlPeCh5S7VfV4ETTy5pKb/QSNSq piUkF7LUjceYjBmsI+c7mXsaIyvztuQ2HLpUX02SYVt2/elmV0l3jYBsOJfKu1DVbh0yN nGgu+NFGBz8z8y/GP3ONVUZNbT2Qh9C8tn0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1665482631365100010 Content-Type: text/plain; charset="utf-8"; x-default="true" Instead of using hard-coded strings ("0.0.0" for BiosVersion etc) which is mostly useless read the PCDs (PcdFirmwareVendor, PcdFirmwareVersionString and PcdFirmwareReleaseDateString) and build the string table dynamuically at runtime. Signed-off-by: Gerd Hoffmann --- .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 6 + .../XenSmbiosPlatformDxe.inf | 9 +- OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c | 115 +++++++++++------- 3 files changed, 85 insertions(+), 45 deletions(-) diff --git a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf b/OvmfPkg/Smbi= osPlatformDxe/SmbiosPlatformDxe.inf index 0066bbc9229c..52689c96e5af 100644 --- a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf +++ b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf @@ -32,9 +32,12 @@ [Sources] =20 [Packages] MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec OvmfPkg/OvmfPkg.dec =20 [LibraryClasses] + BaseLib + BaseMemoryLib DebugLib MemoryAllocationLib PcdLib @@ -45,6 +48,9 @@ [LibraryClasses] [Pcd] gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString =20 [Protocols] gEfiSmbiosProtocolGuid # PROTOCOL ALWAYS_CONSUMED diff --git a/OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf b/OvmfPkg/S= mbiosPlatformDxe/XenSmbiosPlatformDxe.inf index 7f4588e33d1e..e646c88741b6 100644 --- a/OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf +++ b/OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf @@ -38,19 +38,26 @@ [Sources.ARM, Sources.AARCH64] =20 [Packages] MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec =20 [Packages.IA32, Packages.X64] OvmfPkg/OvmfPkg.dec =20 [LibraryClasses] + BaseLib + BaseMemoryLib DebugLib UefiBootServicesTableLib UefiDriverEntryPoint =20 [LibraryClasses.IA32, LibraryClasses.X64] - BaseLib HobLib =20 +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString + [Protocols] gEfiSmbiosProtocolGuid # PROTOCOL ALWAYS_CONSUMED =20 diff --git a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c b/OvmfPkg/Smbios= PlatformDxe/SmbiosPlatformDxe.c index 94249d3ff1b0..dc1e6aed634f 100644 --- a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c +++ b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c @@ -9,57 +9,43 @@ **/ =20 #include // SMBIOS_TABLE_TYPE0 +#include +#include #include // ASSERT_EFI_ERROR() +#include +#include #include // gBS #include // EFI_SMBIOS_PROTOCOL =20 #include "SmbiosPlatformDxe.h" =20 -#define TYPE0_STRINGS \ - "EFI Development Kit II / OVMF\0" /* Vendor */ \ - "0.0.0\0" /* BiosVersion */ \ - "02/06/2015\0" /* BiosReleaseDate */ -// -// Type definition and contents of the default Type 0 SMBIOS table. -// -#pragma pack(1) -typedef struct { - SMBIOS_TABLE_TYPE0 Base; - UINT8 Strings[sizeof (TYPE0_STRINGS)]; -} OVMF_TYPE0; -#pragma pack() - -STATIC CONST OVMF_TYPE0 mOvmfDefaultType0 =3D { +STATIC CONST SMBIOS_TABLE_TYPE0 mOvmfDefaultType0 =3D { + // SMBIOS_STRUCTURE Hdr { - // SMBIOS_STRUCTURE Hdr - { - EFI_SMBIOS_TYPE_BIOS_INFORMATION, // UINT8 Type - sizeof (SMBIOS_TABLE_TYPE0), // UINT8 Length - }, - 1, // SMBIOS_TABLE_STRING Vendor - 2, // SMBIOS_TABLE_STRING BiosVersion - 0xE800, // UINT16 BiosSegment - 3, // SMBIOS_TABLE_STRING BiosReleaseDate - 0, // UINT8 BiosSize - { // MISC_BIOS_CHARACTERISTICS BiosCharacteristics - 0, // Reserved :2 - 0, // Unknown :1 - 1, // BiosCharacteristicsNotSupported :1 - // Remaining BiosCharacteristics bits left unset :60 - }, - { // BIOSCharacteristicsExtensionBytes[2] - 0, // BiosReserved - 0x1C // SystemReserved =3D VirtualMachineSupported | - // UefiSpecificationSupported | - // TargetContentDistributionEnabled - }, - 0, // UINT8 SystemBiosMajorRelease - 0, // UINT8 SystemBiosMinorRelease - 0xFF, // UINT8 EmbeddedControllerFirmwareMajorRel= ease - 0xFF // UINT8 EmbeddedControllerFirmwareMinorRel= ease + EFI_SMBIOS_TYPE_BIOS_INFORMATION, // UINT8 Type + sizeof (SMBIOS_TABLE_TYPE0), // UINT8 Length }, - // Text strings (unformatted area) - TYPE0_STRINGS + 1, // SMBIOS_TABLE_STRING Vendor + 2, // SMBIOS_TABLE_STRING BiosVersion + 0xE800, // UINT16 BiosSegment + 3, // SMBIOS_TABLE_STRING BiosReleaseDate + 0, // UINT8 BiosSize + { // MISC_BIOS_CHARACTERISTICS BiosCharacteristics + 0, // Reserved :2 + 0, // Unknown :1 + 1, // BiosCharacteristicsNotSupported :1 + // Remaining BiosCharacteristics bits left unset :60 + }, + { // BIOSCharacteristicsExtensionBytes[2] + 0, // BiosReserved + 0x1C // SystemReserved =3D VirtualMachineSupported | + // UefiSpecificationSupported | + // TargetContentDistributionEnabled + }, + 0, // UINT8 SystemBiosMajorRelease + 0, // UINT8 SystemBiosMinorRelease + 0xFF, // UINT8 EmbeddedControllerFirmwareMajorRelea= se + 0xFF // UINT8 EmbeddedControllerFirmwareMinorRelea= se }; =20 /** @@ -153,14 +139,55 @@ InstallAllStructures ( // // Add OVMF default Type 0 (BIOS Information) table // + CHAR16 *VendStr, *VersStr, *DateStr; + UINTN VendLen, VersLen, DateLen; + CHAR8 *Type0; + + VendStr =3D (CHAR16 *)FixedPcdGetPtr (PcdFirmwareVendor); + VendLen =3D StrLen (VendStr); + if (VendLen < 3) { + VendStr =3D L"unknown"; + VendLen =3D StrLen (VendStr); + } + + VersStr =3D (CHAR16 *)FixedPcdGetPtr (PcdFirmwareVersionString); + VersLen =3D StrLen (VersStr); + if (VersLen < 3) { + VersStr =3D L"unknown"; + VersLen =3D StrLen (VersStr); + } + + DateStr =3D (CHAR16 *)FixedPcdGetPtr (PcdFirmwareReleaseDateString); + DateLen =3D StrLen (DateStr); + if (DateLen < 3) { + DateStr =3D L"unknown"; + DateLen =3D StrLen (DateStr); + } + + DEBUG ((DEBUG_INFO, "FirmwareVendor: \"%s\" (%d chars)\n", = VendStr, VendLen)); + DEBUG ((DEBUG_INFO, "FirmwareVersionString: \"%s\" (%d chars)\n", = VersStr, VersLen)); + DEBUG ((DEBUG_INFO, "FirmwareReleaseDateString: \"%s\" (%d chars)\n", = DateStr, DateLen)); + + Type0 =3D AllocateZeroPool (sizeof (mOvmfDefaultType0) + VendLen + Ver= sLen + DateLen + 4); + if (Type0 =3D=3D NULL) { + return EFI_OUT_OF_RESOURCES; + } + + CopyMem (Type0, &mOvmfDefaultType0, sizeof (mOvmfDefaultType0)); + UnicodeStrToAsciiStrS (VendStr, Type0 + sizeof (mOvmfDefaultType0), Ve= ndLen + 1); + UnicodeStrToAsciiStrS (VersStr, Type0 + sizeof (mOvmfDefaultType0) + V= endLen + 1, VersLen + 1); + UnicodeStrToAsciiStrS (DateStr, Type0 + sizeof (mOvmfDefaultType0) + V= endLen + VersLen + 2, DateLen + 1); + SmbiosHandle =3D SMBIOS_HANDLE_PI_RESERVED; Status =3D Smbios->Add ( Smbios, NULL, &SmbiosHandle, - (EFI_SMBIOS_TABLE_HEADER *)&mOvmfDefaultType0 + (EFI_SMBIOS_TABLE_HEADER *)Type0 ); ASSERT_EFI_ERROR (Status); + + FreePool (Type0); } =20 return EFI_SUCCESS; --=20 2.37.3 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#94984): https://edk2.groups.io/g/devel/message/94984 Mute This Topic: https://groups.io/mt/94255123/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Thu May 9 19:16:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94985+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94985+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1665482629; cv=none; d=zohomail.com; s=zohoarc; b=Jzlg5n1wuBHgJVf9L7x6UcXKOioCJzqIm++nX6i6A+UNHsiuT26gGAUax25IG/Ba7vjiglk/BUhLEflt41QmXQOrRcQ7UHw8VbixZlGjVX++/o8sxbPW5efaUJtwgtmF0NvVbPsSNBtfwaLNkd+yl+SohOVpyMNT3uE0ctFX8bM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665482629; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=0KfWj7e/5VfOxGx3111//s710M2VY5rCF2JfW4djNJU=; b=lgEhVWbhixpBTU28Lzg5RtY8lUGl7x4tsWN6CGHaFoME+CuS5Dlarjr45NbuG9M8Yc/qS+3pN7Rk9yfhwBufER4fO/JxssXWoQ1ti9ux/2wxvkiDkJyQws/D7OZuAPhbTlJU762mIPb1fFVBhLzfudwMSUo28hw2gcDJiONWblo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94985+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1665482629220357.12511398748575; Tue, 11 Oct 2022 03:03:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id pHDcYY1788612xc4xo6Z6FBq; Tue, 11 Oct 2022 03:03:48 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web12.5408.1665482627282423085 for ; Tue, 11 Oct 2022 03:03:47 -0700 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-586-s82IAlwvMN-PpnoU6pU_Eg-1; Tue, 11 Oct 2022 06:03:42 -0400 X-MC-Unique: s82IAlwvMN-PpnoU6pU_Eg-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D046A3C138A3; Tue, 11 Oct 2022 10:03:41 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.195.183]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9B53E4021B8; Tue, 11 Oct 2022 10:03:41 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B4C5D180092B; Tue, 11 Oct 2022 12:03:38 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Liming Gao , Pawel Polawski , Jordan Justen , Oliver Steffen , Julien Grall , Gerd Hoffmann , Anthony Perard , Jian J Wang Subject: [edk2-devel] [PATCH v2 2/2] RfC: MdeModulePkg: set defaults for FirmwareVersion and FirmwareReleaseDate Date: Tue, 11 Oct 2022 12:03:38 +0200 Message-Id: <20221011100338.2140696-3-kraxel@redhat.com> In-Reply-To: <20221011100338.2140696-1-kraxel@redhat.com> References: <20221011100338.2140696-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: efIpawrKyCe49XptGVajwzZUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1665482628; bh=4ChTomC8ZNTeN5v2r85pwrLCYaaPa4NOkm0x7Z+HihA=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=wG1UiPJBckf1R7lqhzOatfn+17Uz5Q1lNQ4tiPonrd8FOZdYCuQ5R1ju0KjjqW9TScW tfDLvl85KosEqwUqZz3Iozm+yXTTu2AlclOIwl+uaFepnUUD+CsEAOjQd/AKpzL5iS1r7 5zZgvS2Vgv3dtTQOwGi1ofXjG73jw3c75DA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1665482631329100005 Content-Type: text/plain; charset="utf-8"; x-default="true" PcdFirmwareVersionString is set to the most recent stable tag name. PcdFirmwareReleaseDateString is set to the date of the most recent stable tag. Signed-off-by: Gerd Hoffmann Acked-by: Ard Biesheuvel --- MdeModulePkg/MdeModulePkg.dec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 58e6ab004882..933e993359cc 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1730,11 +1730,11 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynam= ic, PcdsDynamicEx] =20 ## Null-terminated Unicode string that describes the firmware version. # @Prompt Firmware version string. - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L""|VOID*|0x0001= 0052 + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"edk2-stable202= 208"|VOID*|0x00010052 =20 ## Null-terminated Unicode string that contains the date the firmware wa= s released # @Prompt Firmware release data string. - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L""|VOID*|0x= 00010053 + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L"26/08/2022= "|VOID*|0x00010053 =20 ## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to= true. # (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.
--=20 2.37.3 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#94985): https://edk2.groups.io/g/devel/message/94985 Mute This Topic: https://groups.io/mt/94255124/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-