summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c')
-rw-r--r--MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c33
1 files changed, 1 insertions, 32 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