diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-13 03:20:28 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-13 03:20:28 +0000 |
commit | 7a0c1361fde4f1f49e36ac8da42f441750e1cb4d (patch) | |
tree | 32b74e42645126ff6c197f15519957f06bf9dcd4 /MdeModulePkg | |
parent | 836a78250b31ef71b3584d1a4e7cf2a03434422f (diff) | |
download | edk2-7a0c1361fde4f1f49e36ac8da42f441750e1cb4d.tar.gz edk2-7a0c1361fde4f1f49e36ac8da42f441750e1cb4d.tar.bz2 edk2-7a0c1361fde4f1f49e36ac8da42f441750e1cb4d.zip |
Remove unused CapsuleReset() in MdeModulePkg\Universal\ResetSystemRuntimeDxe\ResetSystem.c.
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c | 33 | ||||
-rw-r--r-- | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h | 13 |
2 files changed, 2 insertions, 44 deletions
diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c index 957cb0b4c5..9adca0eb42 100644 --- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c +++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c @@ -1,7 +1,7 @@ /** @file
Reset Architectural Protocol implementation
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -66,37 +66,6 @@ InitializeResetSystem ( }
/**
- Reset system for capsule update.
-
- @param[in] CapsuleDataPtr Pointer to the capsule block descriptors.
-
-**/
-VOID
-CapsuleReset (
- IN UINTN CapsuleDataPtr
- )
-{
- //
- // This implementation assumes that we're using a variable
- // to indicate capsule updates.
- //
- gRT->SetVariable (
- EFI_CAPSULE_VARIABLE_NAME,
- &gEfiCapsuleVendorGuid,
- EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS,
- sizeof (UINTN),
- (VOID *) &CapsuleDataPtr
- );
-
- EnterS3WithImmediateWake ();
-
- //
- // Should not return
- //
- CpuDeadLoop ();
-}
-
-/**
Put the system into S3 power state.
**/
VOID
diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h index 37afa5b369..44b13df871 100644 --- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h +++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h @@ -1,6 +1,6 @@ /** @file
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -70,15 +70,4 @@ ResetSystem ( IN VOID *ResetData OPTIONAL
);
-/**
- Reset system for capsule update.
-
- @param[in] CapsuleDataPtr Pointer to the capsule block descriptors.
-
-**/
-VOID
-CapsuleReset (
- IN UINTN CapsuleDataPtr
- );
-
#endif
|