mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Add Bm prefix for internal functions
Change VARIABLE_VISITOR to BM_VARIABLE_VISITOR Change ForEachVariable to BmForEachVariable Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18854 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8395253519
commit
d95ff8e8d8
|
@ -37,7 +37,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
BmForEachVariable (
|
BmForEachVariable (
|
||||||
VARIABLE_VISITOR Visitor,
|
BM_VARIABLE_VISITOR Visitor,
|
||||||
VOID *Context
|
VOID *Context
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -105,9 +105,17 @@ CHAR16 *
|
||||||
#define BM_OPTION_NAME_LEN sizeof ("SysPrep####")
|
#define BM_OPTION_NAME_LEN sizeof ("SysPrep####")
|
||||||
extern CHAR16 *mBmLoadOptionName[];
|
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
|
typedef
|
||||||
VOID
|
VOID
|
||||||
(*VARIABLE_VISITOR) (
|
(*BM_VARIABLE_VISITOR) (
|
||||||
CHAR16 *Name,
|
CHAR16 *Name,
|
||||||
EFI_GUID *Guid,
|
EFI_GUID *Guid,
|
||||||
VOID *Context
|
VOID *Context
|
||||||
|
@ -120,8 +128,8 @@ VOID
|
||||||
@param Context The context passed to Visitor function.
|
@param Context The context passed to Visitor function.
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
ForEachVariable (
|
BmForEachVariable (
|
||||||
VARIABLE_VISITOR Visitor,
|
BM_VARIABLE_VISITOR Visitor,
|
||||||
VOID *Context
|
VOID *Context
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue