Add a lock to protect the critical region in Service APIs for UEFI Runtime Variable...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 12 Mar 2007 07:56:16 +0000 (07:56 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 12 Mar 2007 07:56:16 +0000 (07:56 +0000)
commit6ed71dcc327e0b52e262192bd737a40fc16ea526
tree7419239804a1da82ac477d3921fafbb8e86b2c5a
parentc094abe5852057ef47941d8de3af20b2286cd822
Add a lock to protect the critical region in Service APIs for UEFI Runtime Variable Service to prevent re-entrance of the variable service API from from different allowable TPL level. In UEFI 2.x and EFI 1.10 spec, EFI_TPL_CALLBACK is the allowable TPL level for Variable services.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2444 6f19259b-4bc3-4df7-8a09-765794883524
12 files changed:
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.msa
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariableIpf.msa
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/InitVariable.c
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/Ipf/InitVariable.c
EdkModulePkg/Universal/EmuVariable/RuntimeDxe/Variable.h
EdkModulePkg/Universal/Variable/RuntimeDxe/InitVariable.c
EdkModulePkg/Universal/Variable/RuntimeDxe/Ipf/InitVariable.c
EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.h
EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.msa
EdkModulePkg/Universal/Variable/RuntimeDxe/VariableIpf.msa