/** @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
#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
{\r
EFI_STATUS Status;\r
+ EFI_HANDLE Handle;\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
+ Handle = NULL;\r
Status = gBS->InstallMultipleProtocolInterfaces (\r
- &mResetHandle,\r
+ &Handle,\r
&gEfiResetArchProtocolGuid,\r
NULL,\r
NULL\r