diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-11 06:37:39 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-11 06:37:39 +0000 |
commit | 0e7bfce8d0dc29695d0eb141f16e7976abcc5486 (patch) | |
tree | 95fe6aa7b9b40994b538b451f0c3a4fe16d0a6b4 /EdkNt32Pkg/Include | |
parent | c271c1326b7aacf837a75407233da97d6caada34 (diff) | |
download | edk2-0e7bfce8d0dc29695d0eb141f16e7976abcc5486.zip edk2-0e7bfce8d0dc29695d0eb141f16e7976abcc5486.tar.gz edk2-0e7bfce8d0dc29695d0eb141f16e7976abcc5486.tar.bz2 |
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2216 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg/Include')
-rw-r--r-- | EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h index 9abda55..ed52085 100644 --- a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h +++ b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h @@ -379,4 +379,11 @@ SetupResetReminder ( VOID
);
+EFI_STATUS
+BdsLibGetHiiHandles (
+ IN EFI_HII_PROTOCOL *Hii,
+ IN OUT UINT16 *HandleBufferLength,
+ OUT EFI_HII_HANDLE **HiiHandles
+ );
+
#endif // _BDS_LIB_H_
|