summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/EmuVariable
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-20 10:04:54 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-20 10:04:54 +0000
commit6dcb94c713b1373cc78117b7713e654889802114 (patch)
tree502443dd508e273ebd123b1c82d17a0c49e35111 /EdkModulePkg/Universal/EmuVariable
parent21801bb3530954ac80213c9084b6f702ddf9036b (diff)
downloadedk2-6dcb94c713b1373cc78117b7713e654889802114.zip
edk2-6dcb94c713b1373cc78117b7713e654889802114.tar.gz
edk2-6dcb94c713b1373cc78117b7713e654889802114.tar.bz2
Change the TPL lock level to EFI_TPL_NOTIFY. Variable Service is called in ResetSystem runtime service. As there is no restriction stated in UEFI spec about TPL restriction for ResetSystem, so SCT does test it under NOTIFY level. This fix can be temperary. We may revert it back after discussion with Architects..
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2492 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/EmuVariable')
-rw-r--r--EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
index acc4121..8695b75 100644
--- a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
+++ b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
@@ -826,7 +826,7 @@ Returns:
return EFI_OUT_OF_RESOURCES;
}
- EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_CALLBACK);
+ EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_NOTIFY);
//
// Intialize volatile variable store