From 124b18cfb3ff20d7a51ca87143605da9c54b86c9 Mon Sep 17 00:00:00 2001 From: Thomas Palmer Date: Thu, 19 Apr 2018 04:32:26 +0800 Subject: MdeModulePkg/RamDiskDxe: Update RouteConfig function 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 Reviewed-by: Dandan Bi Reviewed-by: Eric Dong --- MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/Disk') diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c index b562bc1..7ebd397 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; } -- cgit v1.1