Revision: 19146
          http://sourceforge.net/p/edk2/code/19146
Author:   abiesheuvel
Date:     2015-12-07 09:20:20 +0000 (Mon, 07 Dec 2015)
Log Message:
-----------
CryptoPkg/BaseCryptLib: make mVirtualAddressChangeEvent STATIC

Make mVirtualAddressChangeEvent STATIC to prevent it from conflicting
with other variables of the same name that may be defined in other
libraries (e.g., MdeModulePkg/Universal/Variable/RuntimeDxe)
This also removes the risk of mVirtualAddressChangeEvent being merged with
other uninitialized variables with external linkage by toolchains that perform
COMMON allocation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Qin Long <[email protected]>

Modified Paths:
--------------
    trunk/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c

Modified: 
trunk/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
===================================================================
--- trunk/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c    
2015-12-07 09:20:09 UTC (rev 19145)
+++ trunk/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c    
2015-12-07 09:20:20 UTC (rev 19146)
@@ -64,7 +64,7 @@
 //
 // Event for Runtime Address Conversion.
 //
-EFI_EVENT             mVirtualAddressChangeEvent;
+STATIC EFI_EVENT      mVirtualAddressChangeEvent;
 
 
 /**


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to