]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
MdeModulePkg: change the function name ResetSystem
[mirror_edk2.git] / MdeModulePkg / Universal / ResetSystemRuntimeDxe / ResetSystem.c
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