]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Common/RuntimeService.c
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / EdkDxeRuntimeDriverLib / Common / RuntimeService.c
index 44ab686ee2b9911ef5ca861401e2be08e1afde21..c57588c7704d5619d24166b017eb41a3d1dd7014 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
@@ -50,11 +50,11 @@ Returns:
 \r
 --*/\r
 {\r
-  mRT->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
+  mRTEdkDxeRuntimeDriverLib->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
 }\r
 \r
 //\r
-// The following functions hide the mRT local global from the call to\r
+// The following functions hide the mRTEdkDxeRuntimeDriverLib local global from the call to\r
 // runtime service in the EFI system table.\r
 //\r
 EFI_STATUS\r
@@ -82,7 +82,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->GetTime (Time, Capabilities);\r
+  return mRTEdkDxeRuntimeDriverLib->GetTime (Time, Capabilities);\r
 }\r
 \r
 EFI_STATUS\r
@@ -106,7 +106,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->SetTime (Time);\r
+  return mRTEdkDxeRuntimeDriverLib->SetTime (Time);\r
 }\r
 \r
 EFI_STATUS\r
@@ -134,7 +134,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->GetWakeupTime (Enabled, Pending, Time);\r
+  return mRTEdkDxeRuntimeDriverLib->GetWakeupTime (Enabled, Pending, Time);\r
 }\r
 \r
 EFI_STATUS\r
@@ -161,7 +161,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->SetWakeupTime (Enable, Time);\r
+  return mRTEdkDxeRuntimeDriverLib->SetWakeupTime (Enable, Time);\r
 }\r
 \r
 \r
@@ -199,7 +199,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->GetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
+  return mRTEdkDxeRuntimeDriverLib->GetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
 }\r
 \r
 EFI_STATUS\r
@@ -232,7 +232,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->GetNextVariableName (VariableNameSize, VariableName, VendorGuid);\r
+  return mRTEdkDxeRuntimeDriverLib->GetNextVariableName (VariableNameSize, VariableName, VendorGuid);\r
 }\r
 \r
 EFI_STATUS\r
@@ -265,7 +265,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->SetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
+  return mRTEdkDxeRuntimeDriverLib->SetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
 }\r
 \r
 EFI_STATUS\r
@@ -289,7 +289,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->GetNextHighMonotonicCount (HighCount);\r
+  return mRTEdkDxeRuntimeDriverLib->GetNextHighMonotonicCount (HighCount);\r
 }\r
 \r
 EFI_STATUS\r
@@ -316,7 +316,7 @@ Returns:
 \r
 --*/\r
 {\r
-  return mRT->ConvertPointer (DebugDisposition, Address);\r
+  return mRTEdkDxeRuntimeDriverLib->ConvertPointer (DebugDisposition, Address);\r
 }\r
 \r
 EFI_STATUS\r
@@ -399,7 +399,7 @@ EfiSetVirtualAddressMap (
   IN CONST EFI_MEMORY_DESCRIPTOR    *VirtualMap\r
   )\r
 {\r
-  return mRT->SetVirtualAddressMap (\r
+  return mRTEdkDxeRuntimeDriverLib->SetVirtualAddressMap (\r
                 MemoryMapSize,\r
                 DescriptorSize,\r
                 DescriptorVersion,\r
@@ -417,7 +417,7 @@ EfiUpdateCapsule (
   )\r
 {\r
 #if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
-  return mRT->UpdateCapsule (\r
+  return mRTEdkDxeRuntimeDriverLib->UpdateCapsule (\r
                 CapsuleHeaderArray,\r
                 CapsuleCount,\r
                 ScatterGatherList\r
@@ -437,7 +437,7 @@ EfiQueryCapsuleCapabilities (
   )\r
 {\r
 #if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
-  return mRT->QueryCapsuleCapabilities (\r
+  return mRTEdkDxeRuntimeDriverLib->QueryCapsuleCapabilities (\r
           CapsuleHeaderArray,\r
           CapsuleCount,\r
           MaximumCapsuleSize,\r
@@ -459,7 +459,7 @@ EfiQueryVariableInfo (
   )\r
 {\r
 #if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
-  return mRT->QueryVariableInfo (\r
+  return mRTEdkDxeRuntimeDriverLib->QueryVariableInfo (\r
           Attributes,\r
           MaximumVariableStorageSize,\r
           RemainingVariableStorageSize,\r