From a355a3654f0af22db9f68d988dbb4c72b835f414 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Sat, 11 Jun 2011 11:56:30 +0000 Subject: ArmPkg/BdsLib: Upgrade the library to use natively the Device Path The previous version was using the string representation of the Device Path. This new version takes as paramater the binary representation of the Device Path It also tries to detect which kind of device support it refers by using the remaining part of the Device Path after it has been loaded by gBS->ConnectController() Lots of bug have been fixed as well in this new version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11799 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/BdsLib/BdsLib.inf | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'ArmPkg/Library/BdsLib/BdsLib.inf') diff --git a/ArmPkg/Library/BdsLib/BdsLib.inf b/ArmPkg/Library/BdsLib/BdsLib.inf index 223f47b3db..d74eeda3a1 100644 --- a/ArmPkg/Library/BdsLib/BdsLib.inf +++ b/ArmPkg/Library/BdsLib/BdsLib.inf @@ -15,15 +15,12 @@ INF_VERSION = 0x00010005 BASE_NAME = BdsLib FILE_GUID = ddbf73a0-bb25-11df-8e4e-0002a5d5c51b - MODULE_TYPE = UEFI_DRIVER + MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 LIBRARY_CLASS = BdsLib [Sources.common] BdsFilePath.c - BdsFilePathFs.c - BdsFilePathFv.c - BdsFilePathMem.c BdsLinuxLoader.c BdsAppLoader.c BdsHelper.c @@ -34,13 +31,12 @@ ArmPkg/ArmPkg.dec [LibraryClasses] - DevicePathLib + ArmLib BaseLib - HobLib DebugLib - UefiDriverEntryPoint - DxeServicesTableLib - ArmLib + DevicePathLib + HobLib + PerformanceLib [Guids] gEfiFileInfoGuid @@ -51,11 +47,20 @@ gEfiDevicePathFromTextProtocolGuid gEfiSimpleFileSystemProtocolGuid gEfiFirmwareVolume2ProtocolGuid + gEfiLoadFileProtocolGuid + gEfiPxeBaseCodeProtocolGuid + gEfiDiskIoProtocolGuid + gEfiUsbIoProtocolGuid [FeaturePcd] [FixedPcd] + gArmTokenSpaceGuid.PcdSystemMemoryBase + gArmTokenSpaceGuid.PcdSystemMemorySize + gArmTokenSpaceGuid.PcdArmMachineType + gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset + gArmTokenSpaceGuid.PcdArmLinuxAtagMaxOffset [Pcd] -- cgit v1.2.3