]> git.proxmox.com Git - mirror_edk2.git/commit
Move the memory allocation and variable set to BdsEntry, use VariableLock protocol...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 23 May 2013 02:56:41 +0000 (02:56 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 23 May 2013 02:56:41 +0000 (02:56 +0000)
commitf6c07313d1f7317c328e9ef80cfb272beec0a249
tree28e7106b9cdcc45eaab35d5b33bcd5e11557e7fe
parentd0cec2da21e193333f06677fd22b78eda520ae68
Move the memory allocation and variable set to BdsEntry, use VariableLock protocol to lock the L”PerfDataMemAddr” variable and prevent malware to update it.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14386 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
IntelFrameworkModulePkg/Universal/BdsDxe/Bds.h
IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
MdeModulePkg/Include/Guid/Performance.h