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 From patchwork Wed Apr 18 20:32:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133666 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307302ljf; Wed, 18 Apr 2018 13:32:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/noyYzhsg5gjqIBb+FTMhek0ts6K+oU30HfUqTXf4vn/W1xlCdi4ZslfluSvc0WlpnU3z3 X-Received: by 10.167.129.154 with SMTP id g26mr3237839pfi.169.1524083557060; Wed, 18 Apr 2018 13:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083557; cv=none; d=google.com; s=arc-20160816; b=aWPQvKQJEhcMXuQQdqN8PfaQJtxRBpzR6D+8RN9DF7M7tHQ5s8binlRv2X3XbmOAW8 dM2W7HpK4vzCuVxhax2x7Z4tebAVyAMpowY6XGv8+GlLtuI0PxGjP4bpGtveue1Zl9gw PVJKk2NSL2b+PGBlykNBa7SMLs6Ah05oYvJjx78T74SnaoPApeiN9bb4RGZhMb2Gxwro TmiXZJx8DKmz5+XFoOSp9du8DLsEia99QVl9OPAGAH3osCXSbTbIeUfGfy0Qj0jql3bB OCVFsHh6umOScSc8HVt53qadv0KTnhZ+IP+CiRwq8ZAytCTTOO4tuDHRNUBAsh/1XuDD si4Q== 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=4BgQtoR2UL5zrLci0zEY6ErLbvXXpLQ0pbIG44O3y04=; b=mhk6dCMDIksfBav+mhAG+mncuxntOFNZ7EpEtAH02q1xzPwY83LGkbZjjq/bpfg8TA HKJYJVoeiRBWbOtvW7FDRoEWrwyvBZiN0fmzghdUcUDR8m/nGQLlZkXSxuHVIp5PKTk6 jwShkSKTVMTXb74kgxv6IHJj6nTwza9FU1HOdz897KJ13gv9fd4l7fRu92H92ysoHsU2 1aoile63YJ6TH3l7CzepoKT9jXrmlmI2mtHD+eRIzM3Ve+PRMuBHPmARpoBUTidybpC8 W+a93IcHThtA0LnsPfI4GzO7KmhsVQBrUVZodJ+8xkq0YLAp4685163talUKCQml3M0K ZebA== 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 x9-v6si1868229plr.64.2018.04.18.13.32.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:32:37 -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 A488522683908; Wed, 18 Apr 2018 13:32:36 -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.241.140.75; helo=g4t3426.houston.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (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 2FBBA2268479B for ; Wed, 18 Apr 2018 13:32:34 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id CE4A469; Wed, 18 Apr 2018 20:32:33 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:32:25 -0500 Message-Id: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH 2/8] MdeModulePkg/UiApp: 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, eric.dong@intel.com, star.zeng@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 --- MdeModulePkg/Application/UiApp/FrontPage.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 diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index adee67a8ac14..2403aad9d98f 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -2,6 +2,7 @@ FrontPage routines to handle the callbacks and browser calls Copyright (c) 2004 - 2017, 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 @@ -152,6 +153,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:32:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133667 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307326ljf; Wed, 18 Apr 2018 13:32:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+VHKYpDnrR6jZJBsrpdrAtzfjyffTvJ29MNgkMrS5ubu0PjxuUjmcEYE4qFsZffIc4H9O+ X-Received: by 10.98.253.22 with SMTP id p22mr3216904pfh.217.1524083558265; Wed, 18 Apr 2018 13:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083558; cv=none; d=google.com; s=arc-20160816; b=hrsZ/n6bVKit5+XJj5B3f72ygwNJfDbtvqoVbfBR/i/D45DeIEbo0zQ36ta6Sq4b/i MZ7N5dYGBDzsn4yX5GsUTS0C45yGyu65sMoLcGUK0BZA/0bOfw3Bb3qy6gxl0cjMHNKI OmICFU12+vEK3FEW/B/kD+GirAh405JzuJ3l5Id6MZjEIYo7M99jUnbpDDvjBK5As8Og ZsGja+VdLXLqXecvdzOkpMFrfWED6sm/Xf+GWhAzQ3lxR3W0QGxqrSmnoWdKlxXwkutf wZ/6UBdIx/dSRVXALIiL8i98u1dLjeyHFOgiwSg8ldijuwKRYNyfYgGKNonHk6/GQoqR u7JQ== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=gJQL8m5dt/oQAx/tk/1GQ0Bdr4WWxJT+O6eqt/FIN08=; b=qliOPBziS1kxgTO7oOlxNmgaB1Y2JtJNRY0xZ4FGzE0AaHXJdG9m8u0XdM/GvKQ5WA EIobOsTP/UANNKZ/RjVA0w9koZo484HFD7cSzbal6HLGRhW8gDCxectvugviTNSp5wFp sBAMoGcKqzgHeCgpnlWBXwt0htKX3pLG4O2tJhfobSivrf5z5C2AavlEEHUm5Zua77jV LJULA/RWCIEqRMDO2/LJs7JBRk4HpX0Od9IUwOr6n7WTsIgXhoKlIaJAWIks7i0WZ5vl Mrp6Xx6AQ0IZT382Y/20ff75+iJoNHGwLD9O8jepzoJm3WLYp035syZchRAI9/+NDRjd QB4w== 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 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e3-v6si1856071pld.229.2018.04.18.13.32.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:32:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 D3B5022690AA2; Wed, 18 Apr 2018 13:32:37 -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.241.140.75; helo=g4t3426.houston.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (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 9482F226847BC for ; Wed, 18 Apr 2018 13:32:36 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id B278966; Wed, 18 Apr 2018 20:32:35 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:32:26 -0500 Message-Id: <1524083547-32000-2-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> References: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 3/8] MdeModulePkg/RamDiskDxe: 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, eric.dong@intel.com, star.zeng@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 --- MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c index b562bc102582..7ebd397fe68a 100644 --- a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c +++ b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c @@ -2,7 +2,7 @@ HII Config Access protocol implementation of RamDiskDxe driver. Copyright (c) 2016, Intel Corporation. All rights reserved.
- (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+ (C) Copyright 2016-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 @@ -277,6 +277,8 @@ RamDiskRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:32:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133668 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307363ljf; Wed, 18 Apr 2018 13:32:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx489AI2Op85cGw7pa9gJAiZUdE8IUxca2aZWQWNqoxYRavF6UBdtVpvKwgMMeRflJvxruil8 X-Received: by 10.98.34.145 with SMTP id p17mr3270215pfj.236.1524083560175; Wed, 18 Apr 2018 13:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083560; cv=none; d=google.com; s=arc-20160816; b=IK57F09ngVRABsdp1pfb5tCvKSbWaKJsreEhNFp7aG160Eg5gonzO6nXRcrlr1SK/7 hpP1QYYm2vXoLsXnavfcy27qePW/xzP2eDqTVTxB3ceYLInZstYAI8KzAZF4fJvXD5wp ubThqh3ZjVO1FUscYFMJcXwxwgOTSUuP9oBows41fQH0pE77Weo2byH1xV2pBc46pczQ 9CQog7QOV3ztniEqf6W2rRg5FpYb+GIOUgi4b7T9PTkqv8gffP2hv775U3Hd4HBedw10 26KqzbOgF8novoa1u+VhtuQdYY4t1ytKkk0Q9BLOoFzNSrahUxtqqklYgWjhSjKDFXjd OFnQ== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=U9/cirySfQ5pXLUj530B0CPF8c5JCf0pZopecrh32l0=; b=gBmQ+iogZ+WaFSp1vFPGcLNnvLr1tetmYxpsTfYjGpp0xSasvJNLetWHsJEZjVT2Ft iQT8zg9UABtyu2LPxHoLUGqpWgbB3vlWyWvR+NQnK2e16YV3R0t8H8mV+3TOAeYBiNGH AwsVtpG8SYcecf+rqqptooGBZL90tS2fYSNV81+84OTAUxjdrYidRqxo/GmSRMBB26py kglerohMNtHbPMWvqxRHxsQbvytqVN+NxJDvE78d9fU9g4gBLBQP8hMB9fW/RwK/nbaG 59GWb6VAE/TYJJcT5yBcW/hNduhQ7VRfOJPgFkxXNRd/1o0rx23RO5M/n1FXom0U0vcC dcLg== 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 c10-v6si1738147pla.127.2018.04.18.13.32.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:32:40 -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 0BB8F22690AAD; Wed, 18 Apr 2018 13:32:39 -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.241.140.75; helo=g4t3426.houston.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (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 6F4F522690AAA for ; Wed, 18 Apr 2018 13:32:38 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 94C1854; Wed, 18 Apr 2018 20:32:37 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:32:27 -0500 Message-Id: <1524083547-32000-3-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> References: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 4/8] MdeModulePkg/DriverHealthManagerDxe: 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, eric.dong@intel.com, star.zeng@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 --- MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.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 diff --git a/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c b/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c index 16b703495a2f..3f9c24036d43 100644 --- a/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c +++ b/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c @@ -5,6 +5,7 @@ firmware setup (UI). Copyright (c) 2013 - 2015, 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 @@ -123,6 +124,8 @@ DriverHealthManagerFakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:33:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133669 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307855ljf; Wed, 18 Apr 2018 13:33:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx49NAeultRAney4PJmUY2Q1njCrXdIbBuDytaCYrUX22jytTWwZ11RKa1sMGyaSaWytYEIMp X-Received: by 10.101.65.195 with SMTP id b3mr2839187pgq.118.1524083602699; Wed, 18 Apr 2018 13:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083602; cv=none; d=google.com; s=arc-20160816; b=Kranr6hiU4DEA0QSCuTR4WZ/Go+jOBNdb22FVAc5OT1Koj7JubUy6CVctUw7ybvBCN EtrJ2XusK+iuzi90tNpdu21py1Nf7Tcna0wlQJ7J5uHk+DW9N2xTKaae0Hq85xkhWfRb /2BesftCnksooEOOd4NhWdre1Y5HyDButJ72pJJZJQpc+RQ3WfUGT78MAlNhT1wd2H40 Ux7F3D/BDY4BVWaZDQVLKGAt+p8VnAoMa5QKMhJkuY4m7bD9o5ktzQka+46IYycPa5XC LTyZvtUnNGms3dYWzP5ULMenF8R2Rte770hF+6RErRyfVSaiSe2zBftk2UcwnSqu6xCr qLSA== 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=5AWP23rA00is82i/+izyoPCiQ137HVAsox6Yw3t/VPU=; b=GWRdGy9IE4a4OxUdU30mhzFLebA0hM3wlxwl5roIwiCwCHW/Uqmy7M9tnv0sEy75Se s+DC5wJwu+UWluKDxbYA+1rAHSdi0a7PlSQQS2Q9Usb5n61zSpaZRMGFt8zp/SSqCkTV 6yQghLJX4QKDL8qTzj8WgsJBT9dtzKGOWkINvIG1FJZLMwHRHcsl6Wvin3rREBRPVr5l pw2vYBYBBjucazdMUBc5CuxmtUHYI1VW61CPBD0Th9a99IqdR57EFk1/tWAoZ0fqo/NC ImzCIRt19otKB4V6LyhnZha4pGY4WJajeXHSwAn+fbwwlSH/UIYmf/VCPONtotzbwLtx pZWg== 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 h10si1632448pgq.514.2018.04.18.13.33.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:22 -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 47ADD226838FD; Wed, 18 Apr 2018 13:33:22 -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.26; helo=g2t2353.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 9C402226847BC for ; Wed, 18 Apr 2018 13:33:20 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 6A8228C; Wed, 18 Apr 2018 20:33:19 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:11 -0500 Message-Id: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH 5/8] SecurityPkg/Tcg2Config: 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: jiewen.yao@intel.com, nickle.wang@hpe.com, eric.dong@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 --- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.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 diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c index b3a849e91812..4195b6c68f5d 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c @@ -3,6 +3,7 @@ NOTE: This module is only for reference only, each platform should have its own setup page. Copyright (c) 2015 - 2017, 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 @@ -375,6 +376,8 @@ Tcg2RouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:33:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133670 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307881ljf; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/xMp8+mafafbqJTEIky6XijKk2jhLOijHPncJWKDtOX+myJ1/LKWIIDAqtxiPkQVl9YOjU X-Received: by 10.101.99.132 with SMTP id h4mr2835813pgv.153.1524083604788; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083604; cv=none; d=google.com; s=arc-20160816; b=e5CIoe8IgOcXsGe6FaW+PSoRhwUU03AAbObw9+/Z9A9VkcKfpbVBUl7ChjyerZ1zee L6SVKamZH14WK211p8M2Clzeubizm79nRbfyQOdS7ScTkG7tBDrvcsWNwQG3c+rsg3nZ ygtwCEBW/XK0eXCtV6JZuOaHspvKuwnzRSQpV+baj+7qfTibOVMgyy/Pld14MHD4PLi5 bjRFUqKtcDxaAiTTPOS8PXnyaLXBE0Yntca+zZU+T91weAfeJIY7CZiKg+I2wZs1fjjR FPDWN5ntsGbH7OR9lmdbIpqEqDvQ3z3cSfL2ILM2Cn0k5VIImkD3udXeLxICr1h4cYVf xSWQ== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=8hzl6ljxuQZ9fwQ5TpGMV9sp+vxuU6E8ZZvoS+0SVRs=; b=ccG8jDFHitXQAW9/gIr20v/KiN6fn/Lm1CPW35l45t/4cK/rIR4zMwNWKLnDzefeLP 4a9tzzJiNzgVLfVeUXh7eejNVQ8Jp16dcqXyi8+QBH6Fb4krs2DVaAMhixQB0tohRm9+ TFXzYmBc9xRp4jgEZOReTlGfvhIWHl7c8jAWK5dWG5THpPrNjqPw8W/kqjE3m9TC8gQu 5NzNo+fab+bTTJNKAj/xd4luzPAg+dsDXkx2AZAIAH7Y6rCMNrqeBK5SNuWIaMRD0BRa tDB8+228t1BR5VzYTPKlCyPnBYWazDS0JirFGulL0fs6CIwLXDiTx5yhTbzdAmvBIErx jjxQ== 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 r129si1884555pfc.202.2018.04.18.13.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:24 -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 6CE7322690AB0; Wed, 18 Apr 2018 13:33:24 -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.26; helo=g2t2353.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 53F702268391E for ; Wed, 18 Apr 2018 13:33:22 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 77D778D; Wed, 18 Apr 2018 20:33:21 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:12 -0500 Message-Id: <1524083594-32058-2-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> References: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 6/8] SecurityPkg/PwdCredentialProviderDxe: 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: jiewen.yao@intel.com, nickle.wang@hpe.com, eric.dong@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 --- .../PwdCredentialProviderDxe/PwdCredentialProvider.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 diff --git a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c index b9e89cbfe796..ec1e3893fc04 100644 --- a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c +++ b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c @@ -2,6 +2,7 @@ Password Credential Provider driver implementation. Copyright (c) 2009 - 2014, 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 @@ -646,6 +647,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:33:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133671 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307906ljf; Wed, 18 Apr 2018 13:33:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx49vFzIyYQ+ZlgPu9AP9LjgT7yRfi266HOg09/gEJ73EbATEnSt/ILkQA1I+Zv0nRG+FYHbp X-Received: by 10.101.88.194 with SMTP id e2mr2826856pgu.229.1524083606356; Wed, 18 Apr 2018 13:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083606; cv=none; d=google.com; s=arc-20160816; b=RkBVAHgMFWMFvPn8JbyQTLohMIRO4qh6XpDHsufy2WCoNwWLjaxk5PU/3TDCmHOBk9 sfzkFcLIh9swQyqFj2tChOfK8jbbw5FDQueki0M1TYJNeEQLVXqH6zWnIqJsEJJMzdih GRGoHF11KKWmSYVIItPbdnByKfiL9CDRaWcuqLfEeXsEvV66WSYJlmT03PlTeUhG35KG +9BUUSBQHLtbaoUbMMla84Roy/EXCYffl2FaviHp5YVFQ2j0dFyxyNKoeQ9gjzJMO+TN 7f3MgFtmDx5sKsyCrEWMolyDfPgPQic6Sushw8eYeso05nxjDFTT31IfZAma7tZgpRX3 gYMw== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=O7D0YG4mEB9mbHBrj9CcjuQvmeF+sVOloCia2u9IX1g=; b=BqggwVDTKwor1lWNBbfoGN5g5Ar1Zriym2n8hB5dYijhllQdfGXvL3rJPvMcC0NB86 otTM/y89aCyJ00hBqTYAOPXS4FdaHIYEyVJYG15zXKCo2t0aQdD+TokPQTKeNKYgxchb qbPzmEHaJLIQIcLwocDN/9BQCqc7pXhvw7YQ9jwcyYiIIsd2sILRbpvK7sZDoTZZNCEF EwNnKg4a42czy1+FkJ+L0NfkwKUNBt5GxBXcKvzjWZw9ELwOwCxcrp9CfJHxoEsO9iUR iZFJvPLWi9Q1cnvbm2YKYXqufz0aapzesVSqeXT4zLEaB59YBHf6ZH+94oNMi2CPr1iK sxCw== 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 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id i128si1779217pfg.343.2018.04.18.13.33.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 8F86122690AB8; Wed, 18 Apr 2018 13:33:24 -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.26; helo=g2t2353.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 C42C32268391E for ; Wed, 18 Apr 2018 13:33:23 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id E5FAE82; Wed, 18 Apr 2018 20:33:22 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:13 -0500 Message-Id: <1524083594-32058-3-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> References: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 7/8] SecurityPkg/UserIdentifyManagerDxe: 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: jiewen.yao@intel.com, nickle.wang@hpe.com, eric.dong@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 --- .../UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.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 diff --git a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c index a7467b366290..f9743db84d88 100644 --- a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c +++ b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c @@ -2,6 +2,7 @@ This driver manages user information and produces user manager protocol. Copyright (c) 2009 - 2014, 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 @@ -2752,6 +2753,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; } From patchwork Wed Apr 18 20:33:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133672 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307934ljf; Wed, 18 Apr 2018 13:33:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/rAKXAP+6PMviRWOKQ9gWK/N7XWs7C7FXOjbvIVDZBo1fXw/rxq2yK6ag2EGxpKO4QR9t4 X-Received: by 2002:a17:902:8488:: with SMTP id c8-v6mr3349818plo.357.1524083608210; Wed, 18 Apr 2018 13:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083608; cv=none; d=google.com; s=arc-20160816; b=ER15QfVhrqjuzr8N1KL/q9JQb3BKJvx83CmReJO7swOTjcRfC+T6CnkQAamWzh3yCA 4Y+Drqx2I+zKTmnD6RtkB0vfMEVObxJ5hyEEEDvv74GRPbPjwbUxaEDWLfkjmE6F3/wm DPoot+ED+pQzQfzAPnt90sHpdKO5Yp4GVgr0bdGYbgH9bgVbF2ThZV2s6MoyigtyTiMO GkOMBOfdTdTdJ8AKwEbSKTKcPir6NpZHLfjJAA7EVvWa4A0LhH1OjI+r7WuEvak6mKrw ojRz1+IR/R0z6lPKMuQFIGqkNz6lp1UFmq4IZXoHo5l8kLJ+PFBqM6W1pfWFUjo37UG1 97Hw== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=f/CU5xkTjH5soBmfQUQ8iiTVucFLmwuqVds1z0JvJ+4=; b=commnlegHZju/Lh5Dky6/TArmGdM2o1Ya1VB+l4ApoeErCgMXFcCmXrSxRTfm6Uqig ZSapWlmsRSIAf0r06yYyAFgsSvrRyWose2jftXAmURYtouhK9inHa5Q/N4V/78g9gDwp PSbAKI0fujVTZSIFGoVxL1vis9WlB2j/nmTAbo6NDouy7dQOMjHmjyEJ3Iwo0l5l61Gi 8heFNm3zU5YW1e3NCnaKABwS5PhnTjoeKYgp75+d9wHeR650kIRHU3+U6uZbBb7YC46L P3if0UmWAo32f91GSR30LksrTmJen3ePCWcqJbwUmHRlYagjN7vECjRi+fILA2u1l4Ne ZOfg== 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 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k25si1729961pfi.54.2018.04.18.13.33.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 B465022690AC9; Wed, 18 Apr 2018 13:33:25 -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.26; helo=g2t2353.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 D0CB722690AAC for ; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id EC8758C; Wed, 18 Apr 2018 20:33:23 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:14 -0500 Message-Id: <1524083594-32058-4-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> References: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 8/8] SecurityPkg/UserProfileManagerDxe: 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: jiewen.yao@intel.com, nickle.wang@hpe.com, eric.dong@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 --- .../UserIdentification/UserProfileManagerDxe/UserProfileManager.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 diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c index 4bba0824c7ab..b84f2cdf9c02 100644 --- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c +++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c @@ -5,6 +5,7 @@ policy, etc. Copyright (c) 2009 - 2011, 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 @@ -805,6 +806,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; }