From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.1753.1626203849576805413 for ; Tue, 13 Jul 2021 12:17:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=UAkXQbs2; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=08282ce170=daniel.schaefer@hpe.com) Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16DJDVEm029740; Tue, 13 Jul 2021 19:17:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=xEuEAyNtys8Z4ZWWZZeu/ZQBELtedEZ9fIwcgwiEqgo=; b=UAkXQbs2oa6JEWK4YB1emWJJwKHz8ULUB1KMzIRfJjERdJAPwlK3eESWShe6XcAPrRuW klWI8/fNAbPrPsIeRb8o6tUSun2kYl8HaE47876OSOF5/j4VzPzI0Ey/uy6uCs0ih9PW 5G5Lyw92sQOjkFZTlISypekLvaonuAhej+warOnBfPvaqVk3N0BhG2lBPlcYrdaLytv6 OJ38OmQTprTrqfffb+JS0WtoOBqn/f2vSN+XZirrhFxW/fuUZTk8TrmCC2V2EJLC4na0 +rP5HK/GZLLgEev9/obAKRBBWnht7SMOT9szcsIhHFnSUdwf9XCETVBsXYlk8ZSh3hB+ NA== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 39s81fwbv7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jul 2021 19:17:23 +0000 Received: from G2W6310.americas.hpqcorp.net (g2w6310.austin.hp.com [16.197.64.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 33D8B54; Tue, 13 Jul 2021 19:17:22 +0000 (UTC) Received: from G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) by G2W6310.americas.hpqcorp.net (2002:10c5:4034::10c5:4034) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 13 Jul 2021 19:17:22 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8453.americas.hpqcorp.net (16.216.160.211) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Tue, 13 Jul 2021 19:17:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DZ4MDrHYFeEoIcPXg6ek5M52DjMdUmfiSb9ixVXcDH9Sd1u1CL4mjuiQHTSJdZsgh0T5m7Kkv7rIP6lVt1aulD+h5L62qqfQD4Taoyq32DLlQApe9QxwNSDR1/U8ezK5OG6YfUk6hxtofyxGTQLI7KKaQBF5AgKr7JF5ynHyAPtpj1o5oj11awse95xV4Cgx5HsqOHm7QJihYtO5DPrs2Bz3+3Y/Y14mnokCkY064C9uA0+Ic6+zuVSPeJtpRtwH/25t463GVbDytghudvIWFIWMMRIMf5dowq4LubN5OuEWWhPe6EqKRxlU654njJiaVPcV+2YJQfvbvQfqeELMLQ== 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-SenderADCheck; bh=xEuEAyNtys8Z4ZWWZZeu/ZQBELtedEZ9fIwcgwiEqgo=; b=YN4iDFoGSq6UL1674PRNC+o/aUGGJSn89Tv7nlA9bbyK8kNTSaLMplR8sw63NkujNT8HCs83Wz1K9xaUDSB6VEmlw/7OOKFG0odnBPUwbiktOlZyaXKZmvOGq6D7oNNjQZT9sfClDPSFqbe5c2iPuCY77B4I9YxeentRfy6zSH/e8MRcikibrVtt85gZzTVqRlIF+8LkjcUOBSITWiyU0Srg2npLYLJinQMIOwPXJJbvnLUnJl71Rb7QfY44dO83cIqwKQg28k5fjtWUIX5m4ofE3QkXFI9JSHdjxyRsa4NXK+FdwuL1c/qPh1BzxQ/KwxHz6ztxa/hjyjBWkZed9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) by DF4PR8401MB0460.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7607::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.23; Tue, 13 Jul 2021 19:17:21 +0000 Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c804:b24:831b:272a]) by DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c804:b24:831b:272a%5]) with mapi id 15.20.4308.027; Tue, 13 Jul 2021 19:17:20 +0000 From: "Daniel Schaefer" To: CC: Daniel Schaefer , Jian J Wang , Hao A Wu , Dandan Bi , Liming Gao Subject: [PATCH v1 1/1] MdeModulePkg: Print which PCD was unable to be found Date: Wed, 14 Jul 2021 03:16:59 +0800 Message-ID: <20210713191659.519121-1-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: HK2PR02CA0137.apcprd02.prod.outlook.com (2603:1096:202:16::21) To DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from zbook-nix.hitronhub.home (123.193.59.220) by HK2PR02CA0137.apcprd02.prod.outlook.com (2603:1096:202:16::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Tue, 13 Jul 2021 19:17:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dcac99bb-b474-43ef-9a22-08d94632d61e X-MS-TrafficTypeDiagnostic: DF4PR8401MB0460: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ejIsYG55f7z7KfNhgvtz7MJkQuK9pvRhbEtqLhmwu+Ml7x1MfmpaYQ5umlQteTTG9ySDQ0sku8WQdcqmV/iB7iYVtiBzgngmmTQZ/FKZA1UmLnGT8ayb/daESUNO8/phJ4HZeB8wBmWKFQEsrTgiSI8eLcskfFIDzT29h0wQHuNozTyRqYwwqUCN9+/O/jjna7ixyj8xOO1xwiNBQHi45ml5X0W4KoILPqXRAM2Oy0maqSQz/eBGvW+gIxb26RTbDqoMYYK25hpGkygq1Rm0XpOSZME9Ta0sFKBTqsdEc2WAQQz1AIPIgvg1J6b/tGvrgwfBwrtxk3oQSCLAq5vDkvHJKU40J01oWylrFkMdL8vIvBgyX29MQJiyCkctXsBSbMiBt5gO5BR+8Mgzk2FoBL38Naz9Rnl4mMFXe0cLM803sCVmKLy8y99hnTfFHOU9GTnT1dtbSZC8aTOFeZD4HZ5d4UC1lEefru6+++BvRmA3XkfLUQ6/k4TNBMlCZkMeKzA2d1TwFOgHFv1J0uxWoHNUTATtne2KB+RSa/usm5bIl9tXmWSdJ69g0AhSzWCDio/7MxIx1F1o8k98RkbzEcnWnFkHq8xqIVbskh8RuHResl03atM2ZYXgEqvR7X4PJoSKEDYOOd5OEiwnaLsGW1DBFsfNYgrCVyAOzPAt6v3IW8yhDvZvsTjBAjzln/BdP18GW7M3OIAWaJJNit6z8g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(346002)(136003)(39860400002)(396003)(376002)(5660300002)(4744005)(44832011)(8936002)(36756003)(2906002)(1076003)(956004)(86362001)(26005)(8676002)(186003)(66476007)(66946007)(6506007)(2616005)(478600001)(52116002)(6916009)(66556008)(6486002)(54906003)(6666004)(6512007)(316002)(38350700002)(38100700002)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Z4VlT/hpyBYWQcaG5uBBNepLRggKAf2t/ZkfMyYPZBCqe5tIcHrL4Ir/yxdB?= =?us-ascii?Q?hPeB5Rr2X+nDRG0SSgaoTXMwLq/oA0ICqU1UKC42LXR5OMmZ0Y5GyIAYgyXA?= =?us-ascii?Q?zK4pcBUXCAop2qpFFTVKh7QcGZ0PJAA719J57LxUWnatr4q9kAvjbwMd11On?= =?us-ascii?Q?XLf1l/wEkiDkL7XzVDYsu2y7SdE1ZF5/5cpIeIZ91rSwtPmkD9SlaJCa7TSV?= =?us-ascii?Q?12cezqnJ3sVS6EzSbI8MwFhMveD046HP4PVF2t+SKYmaZ5bMZh57jDe1kMRu?= =?us-ascii?Q?dyJLzQ1URjg72erzMN7B1HuhIARdICKGn0GNrnb85FzMnFl57oGmCY4iafFj?= =?us-ascii?Q?jFIzRUnEzY6ResfZ+1nNa8gp4BpySOJvtGveI7heOSgB6WWj6+ne++mFiZOn?= =?us-ascii?Q?v6an/tvNNogmbfcemAbato4q0pjFySPun96d6HTVRu5ehbCtrzBjwU7VT8t6?= =?us-ascii?Q?uNhCzVOvrIxRBhV8R9npxhLDdQcQ5LUTk0z+oLt8EJGWl2zSokKTide+gpmI?= =?us-ascii?Q?VQuVApfUPc6luroOttoimQlOotIzQas6w+JWnvHig8e3qMM2biPDPC3Sn3Rc?= =?us-ascii?Q?pO/9Aic7tZJBw3rGyqs6/I92pMukVAeU5rFLc+62JzuOFMmbCh9lXubb35C5?= =?us-ascii?Q?yL3pV2OwPKaP145TMZLPDS4WmzQjWk+Ks1Zj8TJqhBLaZtTW5/9DsjHQABH0?= =?us-ascii?Q?HwrvrciarMA5O1Zy1q+8iOi5jdcChPH1YG9/WFW9N4IfSWKjdO4VY3lVp8qg?= =?us-ascii?Q?tFUYjBJSoigSJ5JdDY3g9jfV2t5ARKZ6DV49aqp4o8zi1fTBc+RIwsWRxdAY?= =?us-ascii?Q?tP8O8Uqv74Y4hL7kDE1esesxVoW66dQ556mQME54WWCOfx0HRqOMJrkm3vj9?= =?us-ascii?Q?EYmLXeqfIXoXuc6AtPLFcKvXJUMS6FGgCv9Iqm8m1tl/KINolqaNmCM9PS+L?= =?us-ascii?Q?GbNttV+KiL55pVOALqcAp/fABlHWOQOiqDFJqOC7X1gib4d7iDiYmWBltg0p?= =?us-ascii?Q?ySdir1bwOsFNER391d/2N7QqjycA46ebEJ8KoHGnXq5b5o7/EFCWvDnhg5tm?= =?us-ascii?Q?/qhHDKA2wrb6BXFISyHXQgrTsiPrBn1S0WJb3KidzCsglH2pVBvsceeI/e62?= =?us-ascii?Q?QCb2IjzoVg3YDrAz8ORhDQOzUCceaJ7L5K8V+xzhEnjt3OPbXuhv+f5HGPK7?= =?us-ascii?Q?+qS5E0EEBzHwVfF5xPhvwStEoWBFtq1h+7eBm3jHgNEc7wsWeoZp5eokkQro?= =?us-ascii?Q?THoKsdOanhBWrSqy1MzFlBeWQYk1xDO38aIDdW5lln2tq65UxZEFNcuTomsa?= =?us-ascii?Q?5gv9jrplKRW9VoV4Rny9CsTF?= X-MS-Exchange-CrossTenant-Network-Message-Id: dcac99bb-b474-43ef-9a22-08d94632d61e X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2021 19:17:20.8132 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lvnbHH7hYK3andNpNxGICDqgLvxZKEGzDIkYOUERVr7KYdTUECXhGOUzqCdOxaCfM3cl2oQM8jdRD+VjZI0zoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0460 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: ToPrexmKYOKUy8IwmNZUOQpYBqcOGp40 X-Proofpoint-ORIG-GUID: ToPrexmKYOKUy8IwmNZUOQpYBqcOGp40 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-13_12:2021-07-13,2021-07-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 mlxscore=0 clxscore=1011 priorityscore=1501 lowpriorityscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107130122 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain When reaching the assert, it can't be debugged because the PCD is unknown. Therefore the PCD's GUID and token number should be printed. Signed-off-by: Daniel Schaefer Cc: Jian J Wang Cc: Hao A Wu Cc: Dandan Bi Cc: Liming Gao --- MdeModulePkg/Universal/PCD/Dxe/Service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.c b/MdeModulePkg/Univer= sal/PCD/Dxe/Service.c index ea7edc3cbb1c..4e90deab8fb8 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.c @@ -1610,6 +1610,7 @@ GetExPcdTokenNumber ( }=0D }=0D =0D + DEBUG ((DEBUG_ERROR, "%a: Failed to find PCD with GUID: %g and token num= ber: %d\n", __FUNCTION__, Guid, ExTokenNumber));=0D ASSERT (FALSE);=0D =0D return 0;=0D --=20 2.31.1