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.web12.25089.1633281868101720995 for ; Sun, 03 Oct 2021 10:24:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=npr8Qljb; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0910c1de46=daniel.schaefer@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 193G45MP026114; Sun, 3 Oct 2021 17:24:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=/PELcHgRW0R5Yz6GIkyrV00S9nWcOKu+VSyfgXp6Xss=; b=npr8QljbQTtBPjbREd4T0vjugpi0Xlcij3KIext3gmFiCdPbovYex16bW4U3b7rKrnGF 9qw4cpcLbMa2QFsCWnb0B3lPn6vyOO0sgm0WIdZ5bOxeUhWiQXDhc1NQyjQ/TVoszSBJ zGveIiSu+5r2IYM48CnQrgETfcC1Er/9t6cVQ8jLc3Q71Z8TIExENNNKXqI0RJ9rPxdS R1HS/l4H/DbFwmdmKK1y0Fszawy0Xa1DaMPBuOjx4ZqrA28JoktmzUWGbZda6pqwRg1r Zg5o1KqvANH7ky519jRrGjzgz3oe8QTHmh36zWKI8TFXJHQT86RVfuJoCOoeqlshiEhJ cQ== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com with ESMTP id 3bf1f5bqsu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Oct 2021 17:24:27 +0000 Received: from G9W8453.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.160.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id F0B405C; Sun, 3 Oct 2021 17:24:26 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 3 Oct 2021 17:24:26 +0000 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (15.241.52.11) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Sun, 3 Oct 2021 17:24:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TaxnA+EtF9xoV8zzvntJBlWvndbhU+pldtidiFNKaogGrlmOA3DCTHvmbZ7WXvQKx/YavcUQtBhBwx6QxO9uwBs9mCbXEeugqa4GF4XW8m2LDZ0DBvXvkruAPb7cnWzIGKxuNm+AYsl8a4turwEt6PUIo2vK1qYt0rYyVmDZ80m4EcnD7zavkv0wD1mfVGe9ubKMuHDOWb0JCz4ZUXfm6KykqQC9egQ2XPXclYEbcEBIg025Jin/q78RqwKBXCvyr5YXS940Ffh732S/MmYgsi4F3lA8/tn8psno+EtmSPbk77xvNywiya7gdXRgJkhoHJMhVAWcUr2GeL6auoF+EQ== 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=/PELcHgRW0R5Yz6GIkyrV00S9nWcOKu+VSyfgXp6Xss=; b=hYbibN4Sh5tdTajdl3LoGg+o4g+G4Wkfj+bSP2AGUY/jp9lH1KuqFEYfcvKacTNTaU9RHHGRwfLZIiPYWHQcK4+J195y20yTI8sr3wZZHgaY0ZXgrTyv49l9V54OoZv+OJtHS+7T7kUxjyWrJGCC58VMQ0tJx10MPVNRkbf256Bo3LdnAgrnGOwnvm70seSPsYPOnlwkC27Q1S5DtRZXNVVAY7oX8HKZgb5rbDrb+fuwqOVzCuRuRdjxE7EEO027Lo47XOKl64BvxQolR+qFb5ovu3MAerfksoiL12H2dpCbgjLsUUlVeifg1tZCF869CsgiS7C9cDEG3uA2IiA+VA== 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 DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) by DF4PR8401MB1276.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Sun, 3 Oct 2021 17:24:24 +0000 Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469]) by DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469%3]) with mapi id 15.20.4566.022; Sun, 3 Oct 2021 17:24:24 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [PATCH v1 5/5] Signal EndOfDxe in boot manager Date: Mon, 4 Oct 2021 01:23:59 +0800 Message-ID: <20211003172359.1622768-6-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003172359.1622768-1-daniel.schaefer@hpe.com> References: <20211003172359.1622768-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Sun, 3 Oct 2021 17:24:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7d1b9374-2ecb-4fe4-9ba2-08d98692a4c7 X-MS-TrafficTypeDiagnostic: DF4PR8401MB1276: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tibDtrsfX5tisuc7NXs0cK828rzk+kLGxWvcD3LhZkPpQOsww9VSQc3KkDf8biOzK6DkNwSDNmK6yvjt+D5hy0RqMkbDxA3kV6DPA/VTigZqUTRTMWlmLmR9CVUJn6qVHavrKXWfUOMy3EA5Ig4QgKn/YJ8df3VqlArsfiw7YI7nFrNM8UGW1YADf0ts+IakdoNL1EInRGIIIFaL3oM/4wcnX5QlbWtMW6wQGOf0r4gch38bWUsVPVjIKRHmk4VeDScfrvZYK8buadewIVtQ/5ao+JLYZFwp+ae74dPvFYZDGtl0LPzocHwf4GMK76YiFnboma8+48Ddm9BFSnfUrHEs9xP7Z+CFnntbZeegJckwyFrMTGJuzZ/ynbIrreZytL9XsPEShDABMr7VJw86Hp+jjIULunvot4Ez2a5q3bNIk0dh4iZ3bKbnJYO5N9sYgpeWudoQkJ7OCGYEpkca2g3iuO+PgzQ4Ka0ZUn6//aRpa//EeeOMoDX9ecEOqMd09Z7R8fmRv6cuwmIsqzQjuZgZJ/+r6V4T8o7QtR1dx1vlyH14IG8/pTK1jr2AVznzFi75H8ZKGXJ+8a1fG63CoXYnaU2ZxcFqEp7+txE2TA+9bGZDe+oCx80MWAlHzJn8KthwoRZQUYocM1rczTzOjYDlBmK1wu0P0ElsItpd/HIWVfZ2T4IyDVw1A8rW/Hh2huJpWEHM0i4G0EeZP8qeooIOhopUlvYak3bWbcmtDpY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(6029001)(366004)(36756003)(83380400001)(1076003)(6512007)(44832011)(66946007)(66556008)(508600001)(66476007)(54906003)(6486002)(2906002)(316002)(38350700002)(8676002)(2616005)(52116002)(6506007)(956004)(26005)(186003)(6916009)(4326008)(38100700002)(6666004)(8936002)(86362001)(5660300002)(14943795004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mR+q3kl4rsMwucWFQy2aYbcfW4gR+K1Ug2vzxwwExWkaocY/htuzBBO2Tum5?= =?us-ascii?Q?qMCHEshqtmpMIN3DkHJdFtnZE/nNGGE/OnuTDcCqiIpbhCPCHZkIs94dhPC0?= =?us-ascii?Q?DpEqdrqN5e5PB+847X1vJGay8rfA7u7wPMZ6tVpdg19CRchyP1ntvsxufiRH?= =?us-ascii?Q?YDfMfxRSeT0j24vMky3Ple6dZyGYfQNuAGE78PkT/GscPIXSEr2aPGe3Xup0?= =?us-ascii?Q?Uu7u805bpvc6WZmhJr/iabVZB+bR5VNcfj8YAYcq1s4g0op3JE+ojSbWfGvz?= =?us-ascii?Q?I36umJ/mnVfDlYUjuhAYp92mnpR3jpOboDFWhcObkgtG1UlITdYlgnTMxmCs?= =?us-ascii?Q?27Oh9tEL2xeGiBu5kdU/+6gIQPzFZPBHme/I1ZPFWep0hUE8aLP2mGY7Wn5y?= =?us-ascii?Q?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Fxo9J6FF0SDfe?= =?us-ascii?Q?I2I7KmKjrF/t+iAbZNLLaWFY?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7d1b9374-2ecb-4fe4-9ba2-08d98692a4c7 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2021 17:24:23.9137 (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: gvb76LMGdVgrbFGOimrxDqvYwt+sZCvlKxiNS/QV5lkweTgZKfeyF5d3jafLHcmcfkMqxyezlIjLImKwPilLUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1276 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: lSa-QbkkIaTjHrjrf3Nne-4pgu_mI-fH X-Proofpoint-GUID: lSa-QbkkIaTjHrjrf3Nne-4pgu_mI-fH X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-03_08,2021-10-01_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110030125 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Otherwise we can't load a 3rd party image because we're still in DXE. MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.c prevents that. Cc: Abner Chang Cc: Sunil V L Cc: Leif Lindholm Signed-off-by: Daniel Schaefer --- Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootMan= ager.c | 7 ++++++- Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootMan= agerLib.inf | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/Pla= tformBootManager.c b/Platform/RISC-V/PlatformPkg/Library/PlatformBootManage= rLib/PlatformBootManager.c index 82cd311df5..d67f4836fc 100644 --- a/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBo= otManager.c +++ b/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBo= otManager.c @@ -1,7 +1,7 @@ /** @file=0D This file include all platform actions=0D =0D -Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights = reserved.
=0D +Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights = reserved.
=0D Copyright (c) 2015, Intel Corporation. All rights reserved.
=0D =0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D @@ -155,6 +155,11 @@ PlatformBootManagerBeforeConsole ( EFI_INPUT_KEY F2;=0D EFI_BOOT_MANAGER_LOAD_OPTION BootOption;=0D =0D + //=0D + // Signal EndOfDxe PI Event=0D + //=0D + EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);=0D +=0D //=0D // Update the console variables.=0D //=0D diff --git a/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/Pla= tformBootManagerLib.inf b/Platform/RISC-V/PlatformPkg/Library/PlatformBootM= anagerLib/PlatformBootManagerLib.inf index afba07573f..2bf89a3c44 100644 --- a/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBo= otManagerLib.inf +++ b/Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBo= otManagerLib.inf @@ -1,7 +1,7 @@ ## @file=0D # Include all platform action which can be customized by IBV/OEM.=0D #=0D -# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -48,6 +48,7 @@ PrintLib=0D =0D [Guids]=0D + gEfiEndOfDxeEventGroupGuid=0D =0D [Protocols]=0D gEfiGenericMemTestProtocolGuid ## CONSUMES=0D --=20 2.33.0