MdeModulePkg/PartitionDxe: Add partition type guid to installed handle
Add the partition type GUID for every partition to the installed handle, this is required per the UEFI specification. "The firmware must add the PartitionTypeGuid to the handle of every active GPT partition using EFI_BOOT_SERVICES.InstallProtocolInterface()." Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jeff Brasen <jbrasen.qdt@qualcommdatacenter.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/** @file
|
||||
Scan for an UDF file system on a formatted media.
|
||||
|
||||
Copyright (c) 2018 Qualcomm Datacenter Technologies, Inc.
|
||||
Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com>
|
||||
|
||||
This program and the accompanying materials are licensed and made available
|
||||
@@ -753,7 +754,8 @@ PartitionInstallUdfChildHandles (
|
||||
&PartitionInfo,
|
||||
StartingLBA,
|
||||
EndingLBA,
|
||||
Media->BlockSize
|
||||
Media->BlockSize,
|
||||
NULL
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return (ChildCreated ? EFI_SUCCESS : Status);
|
||||
|
Reference in New Issue
Block a user