BDS code calls Hii->FindHandles() with hardcoded length.
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 11 Jan 2007 06:37:39 +0000 (06:37 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 11 Jan 2007 06:37:39 +0000 (06:37 +0000)
commit18f4f89cb9f7570deaf04abcae813f4738c3f0da
treeeabdae4ffbe7ea8fab9031d756e002c33fc71748
parent0b37d0d70ea53de7aa818fc876e0998008a567f9
BDS code calls Hii->FindHandles() with hardcoded length.
New code provides function BdsLibGetHiiHandles() in generic BDS library, which detects actual necessary memory, allocates memory, and finds handles as output.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2216 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
edk2/EdkNt32Pkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
edk2/EdkNt32Pkg/Dxe/PlatformBds/Generic/FrontPage.c
edk2/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h
edk2/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c
edk2/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
edk2/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
edk2/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c
edk2/EdkUnixPkg/Include/Library/EdkGenericBdsLib.h
edk2/EdkUnixPkg/Library/EdkGenericBdsLib/BdsMisc.c