Revision: 18854
          http://sourceforge.net/p/edk2/code/18854
Author:   niruiyu
Date:     2015-11-17 10:07:43 +0000 (Tue, 17 Nov 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Sunny Wang <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
    trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h

Modified: trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
===================================================================
--- trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c   
2015-11-17 10:06:44 UTC (rev 18853)
+++ trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c   
2015-11-17 10:07:43 UTC (rev 18854)
@@ -37,7 +37,7 @@
 **/
 VOID
 BmForEachVariable (
-  VARIABLE_VISITOR            Visitor,
+  BM_VARIABLE_VISITOR         Visitor,
   VOID                        *Context
   )
 {

Modified: trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
===================================================================
--- trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h     
2015-11-17 10:06:44 UTC (rev 18853)
+++ trunk/edk2/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h     
2015-11-17 10:07:43 UTC (rev 18854)
@@ -105,9 +105,17 @@
 #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
@@ -120,8 +128,8 @@
   @param Context   The context passed to Visitor function.
 **/
 VOID
-ForEachVariable (
-  VARIABLE_VISITOR            Visitor,
+BmForEachVariable (
+  BM_VARIABLE_VISITOR         Visitor,
   VOID                        *Context
   );
 


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to