]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove unused CapsuleReset() in MdeModulePkg\Universal\ResetSystemRuntimeDxe\ResetSys...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Jul 2012 03:20:28 +0000 (03:20 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Jul 2012 03:20:28 +0000 (03:20 +0000)
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13529 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h

index 957cb0b4c5098623b3a699903c86dfd43db49b3c..9adca0eb4271d1cf5770c1f4296bd38f107a002f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Reset Architectural Protocol implementation\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -65,37 +65,6 @@ InitializeResetSystem (
   return Status;\r
 }\r
 \r
-/**\r
-  Reset system for capsule update.\r
-\r
-  @param[in] CapsuleDataPtr  Pointer to the capsule block descriptors.\r
-                            \r
-**/\r
-VOID\r
-CapsuleReset (\r
-  IN UINTN   CapsuleDataPtr\r
-  )\r
-{\r
-  //\r
-  // This implementation assumes that we're using a variable\r
-  // to indicate capsule updates.\r
-  //\r
-  gRT->SetVariable (\r
-         EFI_CAPSULE_VARIABLE_NAME,\r
-         &gEfiCapsuleVendorGuid,\r
-         EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS,\r
-         sizeof (UINTN),\r
-         (VOID *) &CapsuleDataPtr\r
-         );\r
-\r
-  EnterS3WithImmediateWake ();\r
-\r
-  //\r
-  // Should not return\r
-  //\r
-  CpuDeadLoop ();\r
-}\r
-\r
 /**\r
   Put the system into S3 power state.                            \r
 **/\r
index 37afa5b369e3de503a6e1a9feb82e33083afe49a..44b13df87193c40806879368a3f03273607aa78d 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -70,15 +70,4 @@ ResetSystem (
   IN VOID             *ResetData OPTIONAL\r
   );\r
 \r
-/**\r
-  Reset system for capsule update.\r
-\r
-  @param[in] CapsuleDataPtr  Pointer to the capsule block descriptors.\r
-                            \r
-**/\r
-VOID\r
-CapsuleReset (\r
-  IN UINTN  CapsuleDataPtr\r
-  );\r
-\r
 #endif\r