Revision: 19569
          http://sourceforge.net/p/edk2/code/19569
Author:   vanjeff
Date:     2015-12-29 03:18:38 +0000 (Tue, 29 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.

(Sync patch r19146 from main trunk.)

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

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/19146

Modified Paths:
--------------
    
branches/UDK2015/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c

Modified: 
branches/UDK2015/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
===================================================================
--- 
branches/UDK2015/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c  
    2015-12-29 03:18:09 UTC (rev 19568)
+++ 
branches/UDK2015/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c  
    2015-12-29 03:18:38 UTC (rev 19569)
@@ -64,7 +64,7 @@
 //
 // Event for Runtime Address Conversion.
 //
-EFI_EVENT             mVirtualAddressChangeEvent;
+STATIC EFI_EVENT      mVirtualAddressChangeEvent;
 
 
 /**


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

Reply via email to