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.web08.2566.1648526405903641762 for ; Mon, 28 Mar 2022 21:00:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=TQIOA4qm; 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=1648526406; x=1680062406; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=t1IMqeuoPHXmLjczq9kNyJ74zt8P8odwpguHgCuBXi4=; b=TQIOA4qmtZXitJfywP33gbrmE0Dgk7zmZgoRz63qeow6vFU/v4Iw03Kw BwAPB2KoPlHclMLXKt2jOaH62nW6V71fKFShEbkcxzSIT+8ub9hg5s25o eBtzqQcfuFFV0GlLZnNIooRrgPAFiqVit5WGkrOPtXIrWEIqd+auPrqbQ YdngYDswxY4NMbQp1DQvktSGWKQf5jts/q7HeaLDTsI1sAMVA3U9sJf0h Y16fg3VdR238/Ovnr6q3MUkSSOguH58O9PBiexO60r6A4M8MFjznSUVEn x++OMJM+SzsFYeQWCFWpdYORXvkEKvIEXBnr1I2eXgvA8A7bAumR6Q6uS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10300"; a="319854623" X-IronPort-AV: E=Sophos;i="5.90,219,1643702400"; d="scan'208";a="319854623" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2022 21:00:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,219,1643702400"; d="scan'208";a="518654616" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga002.jf.intel.com with ESMTP; 28 Mar 2022 21:00:05 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 28 Mar 2022 21:00:05 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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 via Frontend Transport; Mon, 28 Mar 2022 21:00:05 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) 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; Mon, 28 Mar 2022 21:00:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W53Y5I5+hfpCyppBnCy+GxgHbP9bLWIxOxniedT4E6UZMHxpk8kaQLiziI0WyFtSYSMrRZcSXIT/rMGL5dWHIF/KkAFcNWaaWQGu0wY2MdsPMS/F5fi12rocWRgQgTiyfYE3n0AcCo2DeU4HKdN13a8qsLuxdoyclZeMwHRVKwADpOdb0RhLL7dTkdTFPb9an69Z1AqvIJEDF2bbA1S2JAphNubf33KVdcfZr3IfnpCHLhy8DMlPNNlGl8osgxEkrIkBH3CgEoyA/0fy5Gaeb2aj2kyjD737OWSkEBKyK6N/N1hgBclqcIQ19IqZR4EEnYYEVJoIX/7/xm09vokHYw== 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=Lxv8kfv8nyqnPO2soBeXh6aRHBGjZli+Zo72takRw5Q=; b=QMroKZ9LpNaIFwGXgTMTOw5LsRlnRT9jti/FH2qQbao1LHmlpPikruQ4Mi7Ack3UtX5w+mUI0TvGYjpzKKd9KojZ8PgCPOs0rKCThiqM/kdCHRZQzuKrer2Xz81YdDu/B9B0OZdL668kughkg53doRAurJwmqlZd5uOIVSctn3JGJYG9o7qHvJNgVINFwblrZVRxzghp7uUbu2TFsBy9oHkIVtTHsVUyYcUz6FZnGI7iqsmIo/HhiURMApHmuvQx1lKBNK2RH2sHozyrIXPqB507TQ/feipfztQ85+gUCyfNrspaY4VGIWbBo3kXTIJmeZ72DRoemxpyqD/MxOWc3w== 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 DM6PR11MB4075.namprd11.prod.outlook.com (2603:10b6:5:198::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.21; Tue, 29 Mar 2022 04:00:02 +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.5102.023; Tue, 29 Mar 2022 04:00:02 +0000 From: "Guo Dong" To: "Xie, Yuanhao" , "devel@edk2.groups.io" CC: "Ni, Ray" , "You, Benjamin" , "Rhodes, Sean" Subject: Re: [PATCH 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance Thread-Topic: [PATCH 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib instance Thread-Index: AQHYQmjuDHC/go7o4UeMnHUjSSy6D6zVvVyg Date: Tue, 29 Mar 2022 04:00:02 +0000 Message-ID: References: <20220328055849.989-1-yuanhao.xie@intel.com> In-Reply-To: <20220328055849.989-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: 18a8bd21-c015-4d10-815d-08da113899d6 x-ms-traffictypediagnostic: DM6PR11MB4075: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: 8D3ou9MCGt7aWBh6/ynervDM01erX/LPHMlGYsyVRqMZDij6Nka0+4/WvF+hze21tMgMyAfroQ+XmC2VfpRYiT/r1txdvmLgJ6+8v8dVPZMsE+gWyZTRqJYmk5J85F0aLJjR/UHveb5WtNHQplpruBTbw3DcIaeHY8d7f1Eoe3o4kYL026/Pi8XuqvA7B9HXFJumaQ9sSmTWepcBnz7BLVO4jvv1OSCjiY4/Tu5mwHyxQXwx80AfNVMQt5Lr7t0icLgzzh2s9Ac9fjsDtbT9NuR5Xqu0P5viyJAPJW8tRO0cII3vADHdmYMXfxH1Ek8Nxd5hHrQGia5YnCJHOMeXncj/K4RKnvSuMW2q+AY5qlOVY0O2ajEQdb369savc1q1F9Y7Pid6YsKAWqhOmOOdTEgAZ9VQqmchEcXwSe6D7fgec7pkoH7nmK01xs0lwuWl6rx0zhUUyCObCPwqXsntGu2yTFA6crBoVBbMajqGO1bY8whrhjmEWcIDQpD1baJg8V2dTkgoUFCjqeFXcZuehHCJ6udhVS0H/44iyXGq6Y9DLmzi1omg7JXwIftvWr++49fKwGQ4ZlWjwxKSChdJmgkPWf/8O5I99uXNwCyg3fPXG1Jjv9ZdjAvitAEQUV+gW7AZi4IgSfjptHxnpHvC39Z1KIfohSeVktQ4ncmfiOPovVXs5pEU/otAkjBqxW1q0ePln73qWArj1ntvK7Uwpza96Gy8VBm4Zv8x6d4v9og= 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)(4326008)(82960400001)(52536014)(8676002)(122000001)(54906003)(8936002)(33656002)(55016003)(110136005)(508600001)(2906002)(9686003)(76116006)(38100700002)(66946007)(38070700005)(64756008)(66476007)(66446008)(66556008)(7696005)(186003)(53546011)(6506007)(5660300002)(71200400001)(86362001)(316002)(83380400001)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 2 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KzyZjw5qixFzj2uTf+2X/26v9e1EZNlJZFjjJ8QYB5xRwZI6GEk/2LAq7L2K?= =?us-ascii?Q?0kuwy/wNe7b58aFy+pVslchTvNWO44NBsXlVWI446oX0KhYusqbiHyAYO+0R?= =?us-ascii?Q?BtGNubG4Yd8OtrwT5NNRE3MXhcmnStFWLhnxV9ghh/1QQcvw5NvNI6mWxV0U?= =?us-ascii?Q?xLRmRYrWsGAoRoacciSI7aao7guFAjRbP4K2aUQin+6ESohmEq+CJlOnugjA?= =?us-ascii?Q?JLtC8LpyE25qMbM2gSyER5IRxd7JDxpb4FZ+1vmDkx3mKsF5M39kYJbKt6j/?= =?us-ascii?Q?POB+GvBSFGJIake0ALi1whllB9lJ9AauzELkAG2aobXYTTZLdqSCWfeCw8vC?= =?us-ascii?Q?LpdnrSRnBEf6t4ZMCrBecPy4FFLtGQUZXji6iNF57p3ZSgsHAjB9QiBU1Q9T?= =?us-ascii?Q?gX9Su7hGiKZPND7WfafLN4VedXPD5/i2EYzNbNN4pMfOP69NsHfKNIr2FL8u?= =?us-ascii?Q?evpfT7zAPchht8WtM/1vAwRV5X1/NcaDEDQNRz2DaGmvD1YT0X5WUWTwsili?= =?us-ascii?Q?3pPBAEEXreb/sMDDaW6QshGf06Vne8mMSp9Q/SDFfCS0VSxNs+kuPOekVRwq?= =?us-ascii?Q?sfJr+08qUi8X5CFA4gK8O4pbI+Mg234wROjh6/pbl+tsVoP90xb/KaSBNQzE?= =?us-ascii?Q?NzcUR/J6Mj/JgUA7uSPBsLD1eiyOSfZ8bWRhBWzKo0uBovzM3QwW1htgdbO8?= =?us-ascii?Q?SjI7MqU95iCJJKQ6HmX6uxK70a3BN2sGFQHg2HGm24iBsy5tDc1/qQPxx0UP?= =?us-ascii?Q?bSLJaMlpvzvisJjGcALW1gour6smDPe1BhJZVyg9riuSVE6xpFM+GLwjHZZQ?= =?us-ascii?Q?NUjVU8YhDevxDbzD2F48azdSoFVJ9vZ50Au8wZ/9AFdIcOLDnw73b8p5abXy?= =?us-ascii?Q?yqvwu99qFTPhlnUZ53enZ3ipdDDXApVewejl6Ot8D1L4KqdTvxwQBJ+tgrRL?= =?us-ascii?Q?urP8AY/SN7UMJmyLpjlr9AkXXjnl9nmr9jlZYBFfG/v1z0a05fISVvFzVPG1?= =?us-ascii?Q?dwAhg9LqsIRif7Ty1FpCzSB7d6s9D9DjrtDlet9hbAjLGD6hpJIuZc1CBXiD?= =?us-ascii?Q?uVHDrXsV86tzPVpLuz1seh3UC1bX6SIXK14kHTpS0kKtfYaqSSMDwxGjAWGQ?= =?us-ascii?Q?8Esy7IwtPRLD6xWViREtzem97+t73HJ4aQvDJRmpdIxVcvxRObVPhR3hiz5A?= =?us-ascii?Q?6QBmLMYSTKrhbWmMaekzDOKKix4GAuZOxh7WWscSXJvOoWaof2wWZh3THnDN?= =?us-ascii?Q?Jxlje7L9pxZasi8pNEb1cT8pJ1LK6UQVUut4is6bi42fy3Z6v2riljEahH2o?= =?us-ascii?Q?A1mkr82IRy3asl6oUJX0lWLXCXgReHpWcunDw0YITPjbS2uN4xhsPtikTkK5?= =?us-ascii?Q?CV4jkyrSt3fS1l0xrPVw81+MmpkZcqnztP/wstLvGOcnoLIGq7Sc947Itaz7?= =?us-ascii?Q?0JCm0IIWZ01+BjKCIAj2LOZDHNfjys4+aISXSXhqZNtaSQ6i88CjMfwdT8uv?= =?us-ascii?Q?DehUENIhj+fNOfhP/cOjOfRvomY+7FgcfAWSVzGlxpZnicS/f3oaYelkqsqY?= =?us-ascii?Q?AVGKJKYRPJEKAxSdslu9tTQDGZVzJDw3Hz4tuLr8nsxFMRLLP8EGHNbzxYGy?= =?us-ascii?Q?8vOXOaP1t+Q3+ZCkVOUAGPXK877RiU+DHzbX7z0DTl9QJFbmj0hJPP2oG8Eb?= =?us-ascii?Q?UsoXidvsVnTQCQZYMM0XoZ2K7kDVFwjpsXypTc+Xnw28C3GRvEXqS+GvNA7c?= =?us-ascii?Q?1E8XnSaU54Vn7KtFBUWrJAxVNeGG7jAYm6FhQpONvXFFxUOUbjJ+P/Huu9Rj?= x-ms-exchange-antispam-messagedata-1: lI6KD0JZc0CH+Q== 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: 18a8bd21-c015-4d10-815d-08da113899d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2022 04:00:02.1128 (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: EgWdjiBZxANQ4zl2H8p3hbk9qf0u1dvpLwpxVUGCNti0TMnK+OMMQlREibe5PlF+xLm3l7n26mJlND8xUzbfCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4075 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 I replied in another email. It looks the comments are not addressed in this= patch, especially on this comment: In the DebugPrintErrorLevel.h, ErrorLevel is defined as UINT32, but its usa= ge is not clear for bootloaders ( so need add more info in the header file) Thanks, Guo -----Original Message----- From: Xie, Yuanhao =20 Sent: Sunday, March 27, 2022 10:59 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Maurice Ma = ; You, Benjamin ; Rhodes, Sea= n Subject: [PATCH 1/2] UefiPayloadPkg: Add a new DebugPrintErrorLevelLib inst= ance 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 = | 27 +++++++++++++++++++++++++++ UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibH= ob.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++ UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibH= ob.inf | 39 +++++++++++++++++++++++++++++++++++++++ UefiPayloadPkg/UefiPayloadPkg.dec = | 2 +- 4 files changed, 144 insertions(+), 1 deletion(-) diff --git a/UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h b/UefiPaylo= adPkg/Include/Guid/DebugPrintErrorLevel.h new file mode 100644 index 0000000000..9a3f4eb28e --- /dev/null +++ b/UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h @@ -0,0 +1,27 @@ +/** @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) + +typedef struct { + UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; + UINT32 ErrorLevel; +} UNIVERSAL_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..18378249ab --- /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 (UNIVERSAL_PAYLOAD_DEBUG_PRINT_ERROR_L= EVEL *)GET_GUID_HOB_DATA (GuidHob); + if (DebugPrintErrorLevel->Header.Length > UNIVERSAL_PAYLOAD_SIZE= OF_THROUGH_FIELD (UNIVERSAL_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