]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/EdkUefiRuntimeLib/Common/RuntimeService.c
1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
[mirror_edk2.git] / EdkModulePkg / Library / EdkUefiRuntimeLib / Common / RuntimeService.c
index 013c3f159fe3b725bb19d1a239f0d2efb9fac32a..e9a539de4d1a5e8d735936683721ad7744971a2e 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. 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
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
 \r
@@ -62,7 +62,7 @@ EfiGetTime (
 \r
 Routine Description:\r
 \r
-  Returns the current time and date information, and the time-keeping \r
+  Returns the current time and date information, and the time-keeping\r
   capabilities of the hardware platform.\r
 \r
 Arguments:\r
@@ -214,11 +214,11 @@ Arguments:
 \r
   VariableNameSize  - The size of the VariableName buffer.\r
   VariableName      - On input, supplies the last VariableName that was returned\r
-                      by GetNextVariableName(). \r
+                      by GetNextVariableName().\r
                       On output, returns the Nullterminated Unicode string of the\r
                       current variable.\r
   VendorGuid        - On input, supplies the last VendorGuid that was returned by\r
-                      GetNextVariableName(). \r
+                      GetNextVariableName().\r
                       On output, returns the VendorGuid of the current variable.\r
 \r
 Returns:\r
@@ -332,7 +332,7 @@ Arguments:
 \r
   ListHead         - Head of linked list to convert\r
 \r
-Returns: \r
+Returns:\r
 \r
   EFI_SUCCESS\r
 \r
@@ -411,15 +411,11 @@ EfiUpdateCapsule (
   IN EFI_PHYSICAL_ADDRESS      ScatterGatherList       OPTIONAL\r
   )\r
 {\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
   return mRT->UpdateCapsule (\r
                 CapsuleHeaderArray,\r
                 CapsuleCount,\r
                 ScatterGatherList\r
                 );\r
-#else\r
-  return EFI_UNSUPPORTED;\r
-#endif\r
 }\r
 \r
 EFI_STATUS\r
@@ -431,16 +427,12 @@ EfiQueryCapsuleCapabilities (
   OUT EFI_RESET_TYPE           *ResetType\r
   )\r
 {\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
   return mRT->QueryCapsuleCapabilities (\r
           CapsuleHeaderArray,\r
           CapsuleCount,\r
           MaximumCapsuleSize,\r
           ResetType\r
           );\r
-#else\r
-  return EFI_UNSUPPORTED;\r
-#endif\r
 }\r
 \r
 \r
@@ -453,14 +445,10 @@ EfiQueryVariableInfo (
   OUT UINT64                   *MaximumVariableSize\r
   )\r
 {\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
   return mRT->QueryVariableInfo (\r
           Attributes,\r
           MaximumVariableStorageSize,\r
           RemainingVariableStorageSize,\r
           MaximumVariableSize\r
           );\r
-#else \r
-  return EFI_UNSUPPORTED;\r
-#endif\r
 }\r