]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / EdkDxeRuntimeDriverLib / Common / RuntimeLib.c
index 36cf5fcd2ccb26b7b28e90608f2586e93db23e67..387a6835a682d319970028b6877ad7dbadefaca3 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -20,7 +20,7 @@ Abstract:
 \r
 --*/\r
 \r
-#include "..\RuntimeLibInternal.h"\r
+#include "../RuntimeLibInternal.h"\r
 \r
 //\r
 // Driver Lib Module Globals\r
@@ -29,7 +29,7 @@ Abstract:
 STATIC EFI_EVENT              mEfiVirtualNotifyEvent;\r
 STATIC BOOLEAN                mEfiGoneVirtual         = FALSE;\r
 STATIC BOOLEAN                mEfiAtRuntime           = FALSE;\r
-EFI_RUNTIME_SERVICES          *mRT;\r
+EFI_RUNTIME_SERVICES          *mRTEdkDxeRuntimeDriverLib;\r
 \r
 /**\r
   Set AtRuntime flag as TRUE after ExitBootServices\r
@@ -81,7 +81,7 @@ RuntimeLibVirtualNotifyEvent (
   //\r
   // Update global for Runtime Services Table and IO\r
   //\r
-  EfiConvertPointer (0, (VOID **) &mRT);\r
+  EfiConvertPointer (0, (VOID **) &mRTEdkDxeRuntimeDriverLib);\r
 \r
   mEfiGoneVirtual = TRUE;\r
 }\r
@@ -104,8 +104,8 @@ RuntimeDriverLibConstruct (
   EFI_STATUS  Status;\r
 \r
   ASSERT (SystemTable != NULL);\r
-  mRT = SystemTable->RuntimeServices;\r
-  ASSERT (mRT != NULL);\r
+  mRTEdkDxeRuntimeDriverLib = SystemTable->RuntimeServices;\r
+  ASSERT (mRTEdkDxeRuntimeDriverLib != NULL);\r
   \r
   //\r
   // Register SetVirtualAddressMap () notify function\r