From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web09.680.1648681890039399046 for ; Wed, 30 Mar 2022 16:11:31 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=VXcSP8Xr; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648681890; x=1680217890; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zpXeWFMfMEVfT7ZhnVq66HeUQMZeOc0hVts8/OYhOOw=; b=VXcSP8XroXkPHln38pQozxTB/p+NRMkB45AClthp1gTACHTgS9wdFqv4 IfqJiivOAaXy8pPylAxkuLpcFWX6qdN8PV90a5cmIkRVri3SeVVS3WPKe sqIREjyJqTN+v8OzmBukf/JjKU0Lcyh2HbpAyxTKMnrW4hI45/C894QhA 2qasVQvI2Fbcim0o2lKtnoU578H6k5+A1KSTuV4tOwrPvAub8Kz1epsQ9 +McVkyuLi5yPvLHy4mCwIByBmfKwhJdvS6TvyuP6M2QZ935W1h10nq2qR GcS6KY+BfC/ql3acYOx9jmsGLS3Fp8VM1dfkVcM93T8SltEEgmLzi6vpf Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="320362746" X-IronPort-AV: E=Sophos;i="5.90,223,1643702400"; d="scan'208";a="320362746" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 16:11:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,223,1643702400"; d="scan'208";a="519999335" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga002.jf.intel.com with ESMTP; 30 Mar 2022 16:11:08 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 30 Mar 2022 16:11:08 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 30 Mar 2022 16:11:08 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Wed, 30 Mar 2022 16:11:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1SXCBUWt/Y0g8Jt0s2TQHbVdpwMy0KsCzxYGmf8/Fr29a9o6eMUH13W8S7e7cELYLd+HYutaYTNJA/tNxDkEzs0RP6Np7DtAEBRiFEWlBnEH0/uJwTHztC9R9ujRipXy3XrpOmw1OcCT9LEHVE5nTOWMA769QuRB5HHS+G52swu1qvfGk8z0llWOTml6rCjn6vD/K0SOObGggcwp+IyHffo5CEzEbHquFnXgVvMJJzjv9LT/AGXe7CVpWAaBxFb02Dn4rM0Mh6rTP+G8DstXR5kIcV4Tqr6lkUOrq+0DcW8wRi03R4GknAYG9DqOic0PZSN0NYoeKIIhC2IK3eytg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QE1h3PHRIRzVr3DeLBK5hnNdjwZyg9L1wXuGqjzirYs=; b=MEi1Y/nYWTs/cr7FEBz/6ruebNPuauCPH7AtKVE2+3dipuEn6hjOMIpJp3lbCR8bsJHGsVMRfCX/ualJNH2lfPfwtMZucTP0OI58asHKDPKu65lxljwIHCVgmzv7d6UlfcLKBOxqNmep9lab9AfxdLmRuEWH8ooqGo8/3fUSAWUatQLn0gZMFJYMIPVXBfrKel8OlfrHnoD1tSggS+VbHR2WyAsON2ptGdmuLZhuyWHE6UoWRC+TWSmBGBgcRorwChduOjvauu43OiC3wUWldnIp4q5nfUwugBQSgMgyxEqYWlKxyT5u8AYsPVRBwvAZZU10rlBU0iBxvJGGNnnm+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB3622.namprd11.prod.outlook.com (2603:10b6:a03:fe::30) by BN9PR11MB5355.namprd11.prod.outlook.com (2603:10b6:408:11c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.17; Wed, 30 Mar 2022 23:11:06 +0000 Received: from BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::b13f:e635:ce8d:fad1]) by BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::b13f:e635:ce8d:fad1%4]) with mapi id 15.20.5123.019; Wed, 30 Mar 2022 23:11:05 +0000 From: "Guo Dong" To: "Xie, Yuanhao" , "devel@edk2.groups.io" CC: "Ni, Ray" , "Ma, Maurice" , "You, Benjamin" , "Rhodes, Sean" Subject: Re: [Patch V2 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance Thread-Topic: [Patch V2 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance Thread-Index: AQHYRBb5iAsJVPIeYkupFNb2asIwuazYjhSQ Date: Wed, 30 Mar 2022 23:11:05 +0000 Message-ID: References: <20220330091649.793-1-yuanhao.xie@intel.com> In-Reply-To: <20220330091649.793-1-yuanhao.xie@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.401.20 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f924efec-74eb-42fa-422b-08da12a29167 x-ms-traffictypediagnostic: BN9PR11MB5355:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8gEo4O44xIPVyoBajv8P6DtdSfFBfRFj+Ga0k1LnCmSlHBHQCnebu/YEDJ9jSvN5obRCTYrRuXfXzsyQVz7IvbU1XeIY/T7FjRiWXqNEVSkxnx8iqNODvZIBM4JHvGRrD7ku/bSuSEPfng103J5C9/ATJOuRLVjcu0+Hf3V5uxvGLIK6yJvkO7zybV/c9Xdhetb7kGZRREKShtRSzS78reiwptaLa9PWEu67/sbshNxgyXv1E27ynXlkwfr+GPmlR0UCBnjT7yqHr1XycN282VXKd/LwL6Eiyc9TvFO/IumtkKMifbc8IB3HVeGR0nIT2AyTcVJfG4LD2aduPbnYzyOzdUvh7xc8ccsztM8YZ+NmkHTpJ4ZBLvF8sRLh9O68Y41z0M0jMLui7Lmj4mrQGLwzrgzBS1z6JgS9a/eUnxZEjOk0WC30y1qsQcLF11VjteMKDh1KHcRbEqmxfMTKvmnUsQrioXvHPVQ6L+qMAIy+FN+ikRky1OWuHOohuJadRKR45nRypi64+MkKTb2vZXwxyi6WUfzp2lwElgdw6qQZiBFNZIkxnV0ctgMCevrNYR3kUDlxdLKhLOflCe+9QHUkoakamV+zQqa/7VMpIO0Kze9AA4YHjyBAh12ovlF7GPrssjEc/gQpvDzXfGQWeQ098a5++9PpldaWHgiX0tBEfnOlNQYeLdO8YfJQazNfiJI4SJYh/mSqfc3s4eyRrZ8jiFMphI63yhjAunJtWzw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3622.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(53546011)(52536014)(83380400001)(5660300002)(66556008)(55016003)(4326008)(6506007)(54906003)(316002)(186003)(508600001)(110136005)(8676002)(64756008)(33656002)(7696005)(66946007)(8936002)(66446008)(66476007)(71200400001)(76116006)(9686003)(2906002)(38100700002)(82960400001)(122000001)(86362001)(38070700005)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 2 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6W4AgOpcmLNiqjv6gNkNZtjJe0cJeY7JerV1j7oxy/WzGZYkJd6b53JHd2Rs?= =?us-ascii?Q?3DU62MSJGLA4q6rHSTilBuTrC2GTB0rlrzQhlvfrQcRB2w2GW2jj5Sxh5mFo?= =?us-ascii?Q?vaQvwxjv5OhP4Ql1aLYM8h45UZrJdzb68EFT+szeir2yVAjIGBPw6IcAnXgF?= =?us-ascii?Q?CoR8Y6Q03SkXE2Y2a+oYHMQfm3FTNDvEbZuw6w7XaqI9EoONmrprMX8K1vCa?= =?us-ascii?Q?eRWNCYV7qw5boGw/Evg4wARfFxdcEjySdPmDZTAKqSSU/TJ310P7HEV51IQv?= =?us-ascii?Q?A3Q9zDaRQvnqgbZ2uggwlyA3aUQJEBq1+zycYEcdU+wtaSYBdwyt4bDjnJnK?= =?us-ascii?Q?NH5yzHmpEIPy7OrAIpW0oCQhQTuHgsQeq0rO5FXBaJMSEMIr4rEB8A7RX8ns?= =?us-ascii?Q?dih8izt915MMIOu9cvT/eINNbv7scwPxbAbZorxeWumNjCSR4CAaLXRkjcx+?= =?us-ascii?Q?H0NpkQ629TG//MHow80lEIt38IcB05hfgJAprrcCdIVbC8QWZlRXMU3dcOX5?= =?us-ascii?Q?/MRDa+doyan2w19/QGLEF5OjbmzJEP/0IZ0ept8OCAt7mrKEgVL9bG1uQivx?= =?us-ascii?Q?Ze7qlJjxAJuHAYxg3/q1LCLyq1nINYlqX5odKSXrGVYEoV/FJRLY1J3sqiNa?= =?us-ascii?Q?a+BwspfFtyYXI0BpBqZzEYbdM01YwtUgogg/UBrXi2ytKW3C5n6AOudYWTkf?= =?us-ascii?Q?yljv5OUoZivRoYeWraqTAwYm3Ex6W6bC9vsMEW8JI7z6VsgtMBi9UUHO/k7v?= =?us-ascii?Q?rnnHWU7BBcWk1jGgj1rglmNx4U+7kJjq2JLBjGHZldg1UDcfewMsYY875GgH?= =?us-ascii?Q?MBeOoz906COwb+g+SSa2xxzB2DrL+ha9IOLnLcpMk1DcnwF4V0qRu8WjI64I?= =?us-ascii?Q?qvgHzwe+fxDSr1vkgmO2MfYxGI6XwaIRvn2sJ09UaCsN2ln1bvMF0UkJua7q?= =?us-ascii?Q?vCvlJvKHtXy3IyUQ0h9XkbXvhxIeyPqiMGh/vzIOGoan/3KiK7ybkQpnQypk?= =?us-ascii?Q?uX3cHvMXb9elEbKBvRWizvVb8s4Jq51L/7ZbaGtSh5PunJzwjBQk1PxQIA3f?= =?us-ascii?Q?G2vbFwqHDHhR2n2BOKMFSWdYu1+Z5rOQFVRF9sNhx3LRkWPWr7V0rvf88eoE?= =?us-ascii?Q?6v8XAnnBkQ08v1jj5ilR6Qki8o4SPmyhVsThXUuBYclagETOIGwb1rh5kyFh?= =?us-ascii?Q?HVPb3crTtO+FYdwBklz0UQmMqB3Jm9aBXtWSWP2TlbQ0jr4jhOtxUVDt3yrx?= =?us-ascii?Q?uFkBkOhGbFVtoFyMmja1lkLL3U+tKaCthsSAiWT8bEhs1HaGsQ52FofSxF/d?= =?us-ascii?Q?kBQvlGe68J2eQlMpyszkdk7KxQWPdNdEmvQUGv67SgNXjEZwPIRdIEpl3OZ0?= =?us-ascii?Q?2naVagAvjAdYOivpBoyWtwEhpUq08A+yVpgRk7yZg0Rmg9FUmnKl+gqVdC/L?= =?us-ascii?Q?s7MwqXX7tHr8KQgD7M9+bV9ELjne1XuoAZRXsY54XKlc3KvRkNSGjK1NO3aK?= =?us-ascii?Q?enyyaX+zW8aWFEjXs6gm8JnQIyiCJZXQTo+NtUcqo45sZOzsPmsX1T8nUztD?= =?us-ascii?Q?Hz+w4SHAqvmP0/zKxJw25/kxlSFoReNZB0bz93UnWupVQzwdcsJ9A4kKSXCU?= =?us-ascii?Q?CRInNrglhOa2yhW6Us0sy6nO8hicFV/pjLWEww4bVfZAnarMj/PrB5klc75c?= =?us-ascii?Q?SZMJGPAb58+dScTF0KJmuEssJGCQH8Oz9efIVI5TsvXSFnAIglAHTXIzggoi?= =?us-ascii?Q?bTQjpegqtwAPU0oMaEXw7Rc/VzOobyaMgj3QQZzWpwu3cRcHLUW7NdIBAqMK?= x-ms-exchange-antispam-messagedata-1: YH87K83NAAdPVg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3622.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f924efec-74eb-42fa-422b-08da12a29167 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2022 23:11:05.8405 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YQr/Rz9j/yN/JQ4ne+hfzqoL/YZzbRkRAlcKd+tP99fL++PJY1iKsEQoBOaPzIziZy2/oKpDzBFH6VdRLcENYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5355 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This patch has both UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL and UEFI_PAYL= OAD_DEBUG_PRINT_ERROR_LEVEL. Please double check this patch if it could pass build. Thanks, Guo -----Original Message----- From: Xie, Yuanhao =20 Sent: Wednesday, March 30, 2022 2:17 AM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Maurice Ma = ; You, Benjamin ; Rhodes, Sea= n Subject: [Patch V2 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib i= nstance It consumes the HOB defined in UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h, and allow bootloader t= o config DebugPrintErrorLevel. Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Sean Rhodes Signed-off-by: Yuanhao Xie --- UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h = | 31 +++++++++++++++++++++++++++++++ UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibH= ob.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++ UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibH= ob.inf | 39 +++++++++++++++++++++++++++++++++++++++ UefiPayloadPkg/UefiPayloadPkg.dec = | 2 +- 4 files changed, 148 insertions(+), 1 deletion(-) diff --git a/UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h b/UefiPaylo= adPkg/Include/Guid/DebugPrintErrorLevel.h new file mode 100644 index 0000000000..5bc84039db --- /dev/null +++ b/UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h @@ -0,0 +1,31 @@ +/** @file + Define the structure for Debug Print Error Level Guid Hob. + +Copyright (c) 2022, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL_H_ +#define UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL_H_ + +#include +#include + +#pragma pack (1) +// +// ErrorLevel: The error level of the debug message. +// Bits for ErrorLevel is declared in +// edk2\MdePkg\Include\Library\DebugLib.h +// +typedef struct { + UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; + UINT32 ErrorLevel; +} UEFI_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL; + +#pragma pack() + +#define UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL_REVISION 1 + +extern GUID gEdkiiDebugPrintErrorLevelGuid; #endif diff --git a/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintEr= rorLevelLibHob.c b/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugP= rintErrorLevelLibHob.c new file mode 100644 index 0000000000..7f087e5c06 --- /dev/null +++ b/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorL +++ evelLibHob.c @@ -0,0 +1,77 @@ +/** @file + Debug Print Error Level library instance that retrieves + the DebugPrintErrorLevel from bootloader. + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include +#include +#include +#include +#include +#include +#include +#include + +STATIC UINT32 gDebugPrintErrorLevel; +STATIC BOOLEAN gDebugPrintErrorLevelInitialized =3D FALSE; +/** + Returns the debug print error level mask for the current module. + + @return Debug print error level mask for the current module. + +**/ +UINT32 +EFIAPI +GetDebugPrintErrorLevel ( + VOID + ) +{ + VOID *GuidHob; + UNIVERSAL_PAYLOAD_GENERIC_HEADER *GenericHeader; + UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL *DebugPrintErrorLevel; + + if (!gDebugPrintErrorLevelInitialized) { + gDebugPrintErrorLevelInitialized =3D TRUE; + gDebugPrintErrorLevel =3D PcdGet32(PcdDebugPrintErrorLevel); + GuidHob =3D GetFirstGuidHob (&gEdkiiDebugPrintErrorLevelGuid); + if (GuidHob !=3D NULL) { + GenericHeader =3D (UNIVERSAL_PAYLOAD_GENERIC_HEADER *)GET_GUID_HOB_D= ATA (GuidHob); + if ((sizeof (UNIVERSAL_PAYLOAD_GENERIC_HEADER) < GET_GUID_HOB_DATA_S= IZE (GuidHob))=20 + && (GenericHeader->Length <=3D GET_GUID_HOB_DATA_SIZE (GuidHob))= ) { + if (GenericHeader->Revision =3D=3D UNIVERSAL_PAYLOAD_DEBUG_PRINT_E= RROR_LEVEL_REVISION) { + DebugPrintErrorLevel =3D (UEFI_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL = *)GET_GUID_HOB_DATA (GuidHob); + if (DebugPrintErrorLevel->Header.Length > UNIVERSAL_PAYLOAD_SIZE= OF_THROUGH_FIELD (UEFI_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL, ErrorLevel)) { + gDebugPrintErrorLevel =3D DebugPrintErrorLevel->ErrorLevel; =20 + } + } + }=20 + } + } + return gDebugPrintErrorLevel; +} + +/** + Sets the global debug print error level mask fpr the entire platform. + + @param ErrorLevel Global debug print error level. + + @retval TRUE The debug print error level mask was sucessfully= set. + @retval FALSE The debug print error level mask could not be se= t. + +**/ +BOOLEAN +EFIAPI +SetDebugPrintErrorLevel ( + UINT32 ErrorLevel + ) +{ + // + // This library uinstance does not support setting the global debug=20 +print error + // level mask. + // + return FALSE; +} diff --git a/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintEr= rorLevelLibHob.inf b/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/Debu= gPrintErrorLevelLibHob.inf new file mode 100644 index 0000000000..0845b5a2f4 --- /dev/null +++ b/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorL +++ evelLibHob.inf @@ -0,0 +1,39 @@ +## @file +# Debug Print Error Level library instance that retrieves # the=20 +DebugPrintErrorLevel from bootloader. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
# # =20 +SPDX-License-Identifier: BSD-2-Clause-Patent # ## + +[Defines] + INF_VERSION =3D 0x00010005 + BASE_NAME =3D DebugPrintErrorLevelLibHob + FILE_GUID =3D c3fead6d-bd4c-4131-bd5f-4bbceecc0fef + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D DebugPrintErrorLevelLib + +# +# VALID_ARCHITECTURES =3D IA32 X64 EBC +# + +[Sources] + DebugPrintErrorLevelLibHob.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + UefiPayloadPkg/UefiPayloadPkg.dec + +[LibraryClasses] + PcdLib + HobLib + +[Pcd] + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel + +[Guids] + gEdkiiDebugPrintErrorLevelGuid diff --git a/UefiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPayload= Pkg.dec index 4051172caf..5c1aeb8235 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dec +++ b/UefiPayloadPkg/UefiPayloadPkg.dec @@ -31,7 +31,7 @@ =20 ##include/Guid/BootManagerMenu.h gEdkiiBootManagerMenuFileGuid =3D { 0xdf939333, 0x42fc, 0x4b2a, { 0xa5, = 0x9e, 0xbb, 0xae, 0x82, 0x81, 0xfe, 0xef }} - + gEdkiiDebugPrintErrorLevelGuid =3D { 0xad82f436, 0x75c5, 0x4aa9, {=20 + 0x92, 0x93, 0xc5, 0x55, 0x0a, 0x7f, 0xf9, 0x71 }} gUefiAcpiBoardInfoGuid =3D {0xad3d31b, 0xb3d8, 0x4506, {0xae, 0x71, 0x= 2e, 0xf1, 0x10, 0x6, 0xd9, 0xf}} gUefiSerialPortInfoGuid =3D { 0x6c6872fe, 0x56a9, 0x4403, { 0xbb, 0x98,= 0x95, 0x8d, 0x62, 0xde, 0x87, 0xf1 } } gLoaderMemoryMapInfoGuid =3D { 0xa1ff7424, 0x7a1a, 0x478e, { 0xa9, 0xe4,= 0x92, 0xf3, 0x57, 0xd1, 0x28, 0x32 } } -- 2.30.0.windows.1