From patchwork Wed Apr 18 20:31:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133665 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp306760ljf; Wed, 18 Apr 2018 13:31:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+tPqF+4zudeo/hxBz276/UqMWdlewlk13Orwm8m8qsXkTmD/3gi/hT4pn7zdoszprv4zQ/ X-Received: by 10.99.146.26 with SMTP id o26mr2838491pgd.438.1524083512139; Wed, 18 Apr 2018 13:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083512; cv=none; d=google.com; s=arc-20160816; b=TcN8TifVSkaEXBDqbhe78/OMWsgQN9CdwRKyZOb4LVpcYMUkBrvtHougpR7mJ0ABcJ hs1NAhMYL+GOui/B9qbXmOBBmnceDmti7CuZ+v6JvfFjrDlY0pkHc4tw/tPZP5QnBOQn 74ljjLa6wOZxVMk9A/Lgqezsy2vyWVVb1PIJvRlzVN+x9lEruS9Hs071B+OPBYBym+9p W4OzxZLAwKG3KjbxwADviulQs5XNBgDT8wvQKBXQNFEQN+Z3KZtVBPCUsVJTFzuTuBPw pj8iN18uRek95CoP0/febasAuyWhau10AW5LvBXcnHVF3Q9+zYdQUFLiKnx/L9YZ362k mM/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=D/rlSGTmLm0POOKuC+H9vKY7mR57hAheGyRxCVX/bN4=; b=UhP83qMAn4OMCEFjWE/KcQhvsV/dBwNvtsJ7+kZ2bSnsp0yV24hWEAabjXqbzs2HQJ 1hLIRjQVbuNcOpmuWlnXXnLPLVyshly9UnWGWecFJyND/d1cS0/x7ndUYXVsIHnQXyx6 vcOUyRQwX4v6GhrbWpDgPjOI0EOg09tZE1po6CLqEI8EIvxGaH3iG0i+3OobzDFRBrAv UXBxvC+sGDt9tc/rmPUdIr1dhzcK57H9EYEYynfpMnAVuwtMboVk7I6J7SeIRCRoDXjT TNZ1na7HYdMLFyltEmOKRxIvf1PhYYt87SSG7YG5IdPg81Dr8K9N76PXAGnKFC6F8dwr 0kNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id s12si1629696pgs.164.2018.04.18.13.31.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:31:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 69378226838F5; Wed, 18 Apr 2018 13:31:51 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=15.233.44.25; helo=g2t2352.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2147D2268479B for ; Wed, 18 Apr 2018 13:31:50 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id F0B8D62; Wed, 18 Apr 2018 20:31:48 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:31:35 -0500 Message-Id: <1524083495-31936-1-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH 1/8] IntelFrameworkModulePkg/LegacyBootMaintUiLib: Update RouteConfig function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nickle.wang@hpe.com, liming.gao@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" According to UEFI spec, the RouteConfig protocol function should populate the Progress pointer with an address inside Configuration. This patch ensures that these functions are compliant when EFI_NOT_FOUND is returned. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Thomas Palmer --- .../Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Dandan Bi for this patch series. Signed-off-by: Thomas Palmer Reviewed-by: Dandan Bi for this patch series. Signed-off-by: Thomas Palmer Reviewed-by: Eric Dong and pushed them. Reviewed-by: Dandan Bi for this patch series. Signed-off-by: Thomas Palmer diff --git a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c index a4828b7130c7..3092184ab760 100644 --- a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c +++ b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c @@ -2,6 +2,7 @@ Legacy Boot Maintainence UI implementation. Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -563,6 +564,8 @@ LegacyBootOptionRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + // // Check routing data in . // Note: there is no name for Name/Value storage, only GUID will be checked