/** @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
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
/** @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
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