X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FUefiBootManagerLib%2FInternalBm.h;h=290ce3fc548149f5979d1fed1bfeb7530a47fdcc;hp=d415442e23991799b62c906eac14b10727c3a9fe;hb=d95ff8e8d86b36482b815141233f6c315b43c203;hpb=ebf735f11907e31e1fa80f21737d277d8a964e17 diff --git a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h index d415442e23..290ce3fc54 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h +++ b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h @@ -2,6 +2,7 @@ BDS library definition, include the file and data structure Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
+(C) Copyright 2015 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -104,9 +105,17 @@ CHAR16 * #define BM_OPTION_NAME_LEN sizeof ("SysPrep####") extern CHAR16 *mBmLoadOptionName[]; +/** + Visitor function to be called by BmForEachVariable for each variable + in variable storage. + + @param Name Variable name. + @param Guid Variable GUID. + @param Context The same context passed to BmForEachVariable. +**/ typedef VOID -(*VARIABLE_VISITOR) ( +(*BM_VARIABLE_VISITOR) ( CHAR16 *Name, EFI_GUID *Guid, VOID *Context @@ -119,8 +128,8 @@ VOID @param Context The context passed to Visitor function. **/ VOID -ForEachVariable ( - VARIABLE_VISITOR Visitor, +BmForEachVariable ( + BM_VARIABLE_VISITOR Visitor, VOID *Context ); @@ -407,27 +416,6 @@ BmDelPartMatchInstance ( IN EFI_DEVICE_PATH_PROTOCOL *Single ); - -/** - Return the index of the load option in the load option array. - - The function consider two load options are equal when the - OptionType, Attributes, Description, FilePath and OptionalData are equal. - - @param Key Pointer to the load option to be found. - @param Array Pointer to the array of load options to be found. - @param Count Number of entries in the Array. - - @retval -1 Key wasn't found in the Array. - @retval 0 ~ Count-1 The index of the Key in the Array. -**/ -INTN -BmFindLoadOption ( - IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Key, - IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Array, - IN UINTN Count - ); - /** Repair all the controllers according to the Driver Health status queried. **/