/*++\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
\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
\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
\r
ListHead - Head of linked list to convert\r
\r
-Returns: \r
+Returns:\r
\r
EFI_SUCCESS\r
\r
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
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
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