From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.7977.1633346939309770549 for ; Mon, 04 Oct 2021 04:29:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=JnIUu6+Q; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=091174733e=daniel.schaefer@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1948200Y001038; Mon, 4 Oct 2021 11:28:58 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=J9fCg9hMjdElyNnMeBZOzG7JtN1gCTJXfCLO0Q+ifY8=; b=JnIUu6+QGwgHYqEjM/1QPYPSWAL9pRMlZyzfY/7gxUnkeUpgIrV8q8MpARwSwn4BOfhs XyE9w5yLEN8KPpy1v0IAIOupunGubGUii/183Zn1Be8s9lLyHx3qK3e051fzRcuUHRGO T19hgvvHwBx+3pahQW+U8H5CMLapgPAc0lQAYwFvkIt9m3KNKvstPfGk3Jjj3Jtw8JaU erIrOcMjHsXpWsBPekrKrEskrRGUPzptpqctLY96ASIN67UDyAUVTrY8+BINqk8OFi6e yLnzl62DB4qBI1nhzsm9Obkv8h0lqciEXQMNDrTo8XINblZFbI42NfEc+m2QTR9MxRPd Bg== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfpdekw4y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 11:28:58 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 9F12165; Mon, 4 Oct 2021 11:28:57 +0000 (UTC) Received: from G4W9332.americas.hpqcorp.net (16.208.32.118) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:28:57 +0000 Received: from G4W10205.americas.hpqcorp.net (2002:10cf:520f::10cf:520f) by G4W9332.americas.hpqcorp.net (2002:10d0:2076::10d0:2076) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:28:57 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (15.241.52.10) by G4W10205.americas.hpqcorp.net (16.207.82.15) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Mon, 4 Oct 2021 11:28:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q4OIiTYa2MZia9QQyruwGTOFOB/0CX5RrnyOeNcKUX592lKjwkHjIb52jaEDE2WlI3EygIbEXlYkOmoDAXQ0RFdlN2PTdGp8V32QOcMpD7WXrM0vKg/tEyx+zF182nX1E/aH9fI8pBHQJIGn0H0VO0ov78o1uWzR64eH3/KoLjRssh72E6ktRmqopGdzYnu44r+qfmbneyxh7ca8pl2/zO1FiS7ByWEM2NYkuYHqgQTU6l9vl9Q1s5IBjFK8sOdbexHETZoznq9DF3rLmn39+TAUxFVqZKrcGxBvZbOYalbSp6q1c7dqnnQr2SRhSKyTOQFoR8XOG4++ZOQXTfbbRg== 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=J9fCg9hMjdElyNnMeBZOzG7JtN1gCTJXfCLO0Q+ifY8=; b=HFoT8ePC5yFkVmMPItgYO+80+6pgXHLmuqNjOWwzDPu9nkux/v2KUkoyvQmlON/zIv1IER5rIBh1Hv8E6H/Ovi+xm9KCCU3ZaS+hylEZJOYvdFk9CsPYp2IHr77IAo0Yqwsn0QscQnGPi9Aph5dqdEIuY7iGv1WFuGuDY3x2nbj27G3AccJfwVn1HoXeVIX1PLQnKloQ5Yr+qr3cB3YX56wbsR0dcud1L5noNAdSiLDBpLpNTRPhIuUU2bKD0MCczqw/axiCDjUiCp/orbmEIPwOCdsueQgqALNlQuUtTBIosaFmh2s8F42MRVfKol7xSo9Zo9LQ1/xT6VfTjcCqvw== 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 DF4PR8401MB0425.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7605::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Mon, 4 Oct 2021 11:28:55 +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; Mon, 4 Oct 2021 11:28:55 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [edk2-platforms][PATCH v2 5/5] Signal EndOfDxe in boot manager Date: Mon, 4 Oct 2021 19:28:29 +0800 Message-ID: <20211004112829.3385183-6-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004112829.3385183-1-daniel.schaefer@hpe.com> References: <20211004112829.3385183-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.15 via Frontend Transport; Mon, 4 Oct 2021 11:28:54 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0f664659-ca8d-4957-e925-08d9872a2683 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0425: 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: i2tm5GAEdRGtMGJCTihsCxPRKSkCgEdMHJHbDVsm54G8zEhthLcDXTesPEJIfqg9mEUsvZmqKKM+H8mNLHCE/h+6rc3PbS7pr4eCH1EGgNlMJwkf417UB48S+0Yp69CaPkV0HCcDdjH0VffbCa8nm0O6tG51hN7FcusgyoJ+ik2HJubiiBK7Hh0M9Yl4QWkkQCTBAp3BTWSmTiQfx1SaOklMko/KeE7eil3/tCIZrItTBSZupZry5MW9ntZ2XiVoGYFcXfKcOAP1LPC0w1EsQtB8xfIvkw4AV9GuF1RiHVpB2ovCluGK/2Wp+LnM9AYc8O6nUwH9GB4PJUZ2EeZGoigVgAlKcDyguKrFHZMVBwdsrJn9qGWvJ2q5aZETvjjrm2dh6Wg6/iklsQ234Q0zOlm6fSYWVn9+thyXPo/l2vQIf84Ls3J9KW3Y2fQoG3hvz/twndfwgXpyN7a58yAtjtx69Af2VCieYXTFL3IeZSvQzXXTfe+rRsQSPNZF+TAf7flGJhaOfnbgRKkK8VuBLT9I5Na63Ul9Xp9sDGhFygpNr4iJVPuzUhPIQ9maZulUgBToxElCnI8EDX9Ap1WAdWQhEg7u8NOsCNsF0+zzu5ctap6z1WkDmhYTGpnMekDKgyziYX4YXvo9PFOK9tzbd1r8zCoZzSqCFsYFqH+kaHPVvFPnPbj6Do9KGSdaNv7ajx+RJ35dtP1HYlp62IApUeu3pCxsKZC/ngcwyFDspzjWxdultEwsIYb7bp99TFyi 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)(44832011)(83380400001)(5660300002)(8936002)(6486002)(38350700002)(26005)(2616005)(38100700002)(6666004)(6506007)(4326008)(186003)(316002)(52116002)(2906002)(66476007)(66556008)(36756003)(956004)(1076003)(6916009)(86362001)(508600001)(66946007)(6512007)(54906003)(8676002)(14943795004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XClAoJ85waZ3VBpjLReHoOHfFKHk2QZPHWuaomjGwwly25+z9y6WpS9cyl0L?= =?us-ascii?Q?ldayvj0N6x4WitgHal1cHPyY7XUMJf6o3hXNJ8cdOt+oqbEeLQeDGDuJytCh?= =?us-ascii?Q?eq/5GsyO9qe1Nv4sgq26t2VaFawAGrafAg1TZ6EiPW08q8YxVNf18BJkMTqM?= =?us-ascii?Q?lYUzTfwxDh3jdFVB/0n19pLjNTMybmqV2bDyHzICDb/1HW/izvQDJqJzen2a?= =?us-ascii?Q?Qw32Z4noy7MMQfgnshqW/HI4frsi1vs9T9LQuFmfYB0nQ/01r7k05i3g60G/?= =?us-ascii?Q?14IgYIar9C+BESYy+y3xKTMJ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= =?us-ascii?Q?NbI6U3o4Hog9EB0aVljxa2fcNmebK7wPhddH1esf04eLN/1mkCkjVqLPsm5J?= =?us-ascii?Q?2XFlVpxNvFCoIPwoCEYbh260TX7ElFnmD8/9AdJFxVFmnBdzX20QYf6tjEIU?= =?us-ascii?Q?oHwIy2Dgd4S/ZZVdFZyimSV6?= X-MS-Exchange-CrossTenant-Network-Message-Id: 0f664659-ca8d-4957-e925-08d9872a2683 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2021 11:28:55.6949 (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: taQlFLf6OEj/gvmvoEdgLgAI5gnZ/nGrXx3k+v3Hotl1VFBr3NfhU6QKErIQjy3n8oZOLy9IBVTG7tRI4o0tfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0425 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: pUKSGATCFY0CYvIh53KfDsf73K2BKpUf X-Proofpoint-ORIG-GUID: pUKSGATCFY0CYvIh53KfDsf73K2BKpUf 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-04_04,2021-10-04_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 priorityscore=1501 adultscore=0 phishscore=0 mlxlogscore=999 suspectscore=0 impostorscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040079 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 Reviewed-By: Sunil V L 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