Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
/** @file\r
Reset Architectural Protocol implementation\r
\r
/** @file\r
Reset Architectural Protocol implementation\r
\r
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2017, 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
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
#include "ResetSystem.h"\r
\r
\r
#include "ResetSystem.h"\r
\r
-//\r
-// The handle onto which the Reset Architectural Protocol is installed\r
-//\r
-EFI_HANDLE mResetHandle = NULL;\r
-\r
/**\r
The driver's entry point.\r
\r
/**\r
The driver's entry point.\r
\r
)\r
{\r
EFI_STATUS Status;\r
)\r
{\r
EFI_STATUS Status;\r
\r
//\r
// Make sure the Reset Architectural Protocol is not already installed in the system\r
\r
//\r
// Make sure the Reset Architectural Protocol is not already installed in the system\r
//\r
// Now install the Reset RT AP on a new handle\r
//\r
//\r
// Now install the Reset RT AP on a new handle\r
//\r
Status = gBS->InstallMultipleProtocolInterfaces (\r
Status = gBS->InstallMultipleProtocolInterfaces (\r
&gEfiResetArchProtocolGuid,\r
NULL,\r
NULL\r
&gEfiResetArchProtocolGuid,\r
NULL,\r
NULL\r