]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix the issue that RuntimeServiceQueryVariableInfo() in VariableSmmRuntimeDxe always...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 15 Jan 2013 06:43:24 +0000 (06:43 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 15 Jan 2013 06:43:24 +0000 (06:43 +0000)
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14050 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c

index e4d3aca1938de0a8b4fffe588a865626c77427c3..2a59ac16f9cd08eac39ab1377eb0764e68bb11fd 100644 (file)
@@ -4,7 +4,7 @@
   and volatile storage space and install variable architecture protocol\r
   based on SMM variable module.\r
 \r
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -452,7 +452,7 @@ RuntimeServiceQueryVariableInfo (
 \r
 Done:\r
   ReleaseLockOnlyAtBootTime (&mVariableServicesLock);\r
-  return EFI_SUCCESS;\r
+  return Status;\r
 }\r
 \r
 \r
index 1c06edd8cfe4f659230ba37d4c4215d51f774df0..a785476ff301866f76c871e559b489b754943ccf 100644 (file)
@@ -13,7 +13,7 @@
 \r
   InitCommunicateBuffer() is really function to check the variable data size.\r
 \r
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -471,7 +471,7 @@ RuntimeServiceQueryVariableInfo (
 \r
 Done:\r
   ReleaseLockOnlyAtBootTime (&mVariableServicesLock);\r
-  return EFI_SUCCESS;\r
+  return Status;\r
 }\r
 \r
 \r