audk/MdeModulePkg/Universal
Laszlo Ersek 5b080845a1 MdeModulePkg/RamDiskDxe: replace OpenFileByDevicePath() with UefiLib API
Replace the OpenFileByDevicePath() function with EfiOpenFileByDevicePath()
from UefiLib, correcting the following issues:

- imprecise comments on OpenFileByDevicePath(),
- code duplication between this module and other modules,
- local variable name "EfiSimpleFileSystemProtocol" starting with "Efi"
  prefix,
- bogus "FileHandle = NULL" assignments,
- passing a potentially unaligned "FILEPATH_DEVICE_PATH.PathName" field to
  a protocol member function (forbidden by the UEFI spec),
- leaking "Handle1" when the device path type/subtype check fails in the
  loop,
- stale SHELL_FILE_HANDLE reference in a comment.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1008
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-08-16 20:02:50 +02:00
..
Acpi MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
BdsDxe MdeModulePkg/BdsDxe: Move display of test key usage into BDS module 2018-08-02 15:01:36 -07:00
BootManagerPolicyDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
CapsulePei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
CapsuleRuntimeDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Console MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DebugPortDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DebugSupportDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DevicePathDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Disk MdeModulePkg/RamDiskDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02:00
DisplayEngineDxe MdeModulePkg/DisplayEngineDxe: Fix small InitializeDisplayEngine leak 2018-07-06 19:15:56 +08:00
DriverHealthManagerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DriverSampleDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EbcDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EsrtDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EsrtFmpDxe MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event 2018-08-08 19:18:25 +08:00
FaultTolerantWriteDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FaultTolerantWritePei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FileExplorerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FvSimpleFileSystemDxe MdeModulePkg FvSimpleFileSystemDxe: Fix memory leak in Read function 2018-07-27 08:54:40 +08:00
HiiDatabaseDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
HiiResourcesSampleDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
LegacyRegion2Dxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
LoadFileOnFv2 MdeModulePkg LoadFileOnFv2: Correct the parameter name in function comment 2016-10-25 11:53:59 +08:00
LockBox/SmmLockBox MdeModulePkg SmmLockBox: Return actual data length in SmmLockBoxRestore 2018-08-16 09:02:14 +08:00
MemoryTest MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Metronome MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
MonotonicCounterRuntimeDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Network MdeModulePkg: Update IP4 driver to check for NULL pointer before using. 2018-06-28 15:29:56 +08:00
PCD MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PlatformDriOverrideDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PrintDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PropertiesTableAttributesDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
RegularExpressionDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ReportStatusCodeRouter MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ResetSystemPei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ResetSystemRuntimeDxe MdeModulePkg/ResetSystemRuntimeDxe: Add more info in debug message 2018-07-03 14:39:59 +08:00
SectionExtractionDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SectionExtractionPei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SecurityStubDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SerialDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SetupBrowserDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SmbiosDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SmbiosMeasurementDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SmmCommunicationBufferDxe MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE. 2016-04-29 12:49:09 +08:00
StatusCodeHandler MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
TimestampDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Variable MdeModulePkg: Variable: Re-prioritize TCG/TCG2 protocol 2018-07-23 08:36:03 +08:00
WatchdogTimerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00