]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: change the function name ResetSystem
authorZhichao Gao <zhichao.gao@intel.com>
Thu, 21 Feb 2019 00:59:38 +0000 (08:59 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 22 Feb 2019 01:45:43 +0000 (09:45 +0800)
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1460

Change the function name form ResetSystem to RuntimeServiceResetSystem.
Because ResetSystem and EfiResetSystem would be used in ResetSystemLib
and RuntimeLib.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h

index afc35587fc2801050ee68691c44db2022647786b..4c7107faeab1812ffc8354cea010bd497f8db3ba 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Reset Architectural and Reset Notification protocols implementation.\r
 \r
-  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2019, 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
@@ -187,7 +187,7 @@ InitializeResetSystem (
   //\r
   // Hook the runtime service table\r
   //\r
-  gRT->ResetSystem = ResetSystem;\r
+  gRT->ResetSystem = RuntimeServiceResetSystem;\r
 \r
   //\r
   // Now install the Reset RT AP on a new handle\r
@@ -242,7 +242,7 @@ DoS3 (
 **/\r
 VOID\r
 EFIAPI\r
-ResetSystem (\r
+RuntimeServiceResetSystem (\r
   IN EFI_RESET_TYPE   ResetType,\r
   IN EFI_STATUS       ResetStatus,\r
   IN UINTN            DataSize,\r
@@ -256,7 +256,7 @@ ResetSystem (
   RESET_NOTIFY_ENTRY  *Entry;\r
 \r
   //\r
-  // Only do REPORT_STATUS_CODE() on first call to ResetSystem()\r
+  // Only do REPORT_STATUS_CODE() on first call to RuntimeServiceResetSystem()\r
   //\r
   if (mResetNotifyDepth == 0) {\r
     //\r
index 8529de675cfba876d07827698182b84437421d41..938dbd5011a1d3475103cb38c2cebe607d3eb7ab 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2019, 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
@@ -97,7 +97,7 @@ InitializeResetSystem (
 **/\r
 VOID\r
 EFIAPI\r
-ResetSystem (\r
+RuntimeServiceResetSystem (\r
   IN EFI_RESET_TYPE   ResetType,\r
   IN EFI_STATUS       ResetStatus,\r
   IN UINTN            DataSize,\r