/*++\r
\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
IN EFI_DEVICE_PATH_PROTOCOL *DevPath\r
);\r
\r
+VOID\r
+BdsLibSafeFreePool (\r
+ IN VOID *Buffer\r
+ );\r
+\r
+EFI_DEVICE_PATH_PROTOCOL *\r
+BdsLibDelPartMatchInstance (\r
+ IN EFI_DEVICE_PATH_PROTOCOL *Multi,\r
+ IN EFI_DEVICE_PATH_PROTOCOL *Single\r
+ );\r
+\r
BOOLEAN\r
BdsLibMatchDevicePaths (\r
IN EFI_DEVICE_PATH_PROTOCOL *Multi,\r
//\r
// Notes: EFI 64 shadow all option rom\r
//\r
-#ifdef EFI64\r
+#if defined (MDE_CPU_IPF)\r
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
VOID\r
ShadowAllOptionRom();\r
//\r
// BBS support macros and functions\r
//\r
-#ifdef EFI32\r
+#if defined (MDE_CPU_IA32)\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
VOID\r
);\r
\r
+EFI_STATUS\r
+BdsLibGetHiiHandles (\r
+ IN EFI_HII_PROTOCOL *Hii,\r
+ IN OUT UINT16 *HandleBufferLength,\r
+ OUT EFI_HII_HANDLE **HiiHandles\r
+ );\r
+\r
#endif // _BDS_LIB_H_\r