]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
CryptoPkg/BaseCryptLib: make mVirtualAddressChangeEvent STATIC
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 7 Dec 2015 09:20:20 +0000 (09:20 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 7 Dec 2015 09:20:20 +0000 (09:20 +0000)
commite01f529efccd8c85bbb4f2d7d66470c3a281e57d
tree9c59c32fbe706d10d023e8018c1e5c7da76d36d6
parent8fb0d2e3fd488a045899dc2b890fc57b8d793e0b
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Qin Long <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19146 6f19259b-4bc3-4df7-8a09-765794883524
CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c