\r
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.\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
- \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
+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
**/\r
#include <PiDxe.h>\r
/*++\r
\r
Routine Description:\r
- Service routine for RealTimeClockInstance->GetTime \r
+ Service routine for RealTimeClockInstance->GetTime\r
\r
Arguments:\r
\r
Time - A pointer to storage that will receive a snapshot of the current time.\r
\r
Capabilities - A pointer to storage that will receive the capabilities of the real time clock\r
- in the platform. This includes the real time clock's resolution and accuracy. \r
+ in the platform. This includes the real time clock's resolution and accuracy.\r
All reported device capabilities are rounded up. This is an OPTIONAL argument.\r
\r
Returns:\r
/*++\r
\r
Routine Description:\r
- Service routine for RealTimeClockInstance->SetTime \r
+ Service routine for RealTimeClockInstance->SetTime\r
\r
Arguments:\r
\r
Returns:\r
\r
EFI_SUCEESS - The operation completed successfully.\r
- \r
+\r
EFI_INVALID_PARAMETER - One of the fields in Time is out of range.\r
\r
EFI_DEVICE_ERROR - The operation could not be complete due to a device error.\r
Returns:\r
\r
EFI_SUCEESS - The operation completed successfully.\r
- \r
+\r
EFI_DEVICE_ERROR - The operation could not be complete due to a device error.\r
\r
EFI_UNSUPPORTED - The operation is not supported on this platform.\r
Returns:\r
\r
EFI_SUCEESS - The operation completed successfully.\r
- \r
+\r
EFI_DEVICE_ERROR - The operation could not be complete due to a device error.\r
\r
EFI_INVALID_PARAMETER - A field in Time is out of range.\r
/*++\r
\r
Routine Description:\r
- Install Real Time Clock Protocol \r
+ Install Real Time Clock Protocol\r
\r
Arguments:\r
ImageHandle - Image Handle\r
Routine Description:\r
\r
Arguments:\r
- \r
- Returns: \r
+\r
+ Returns:\r
**/\r
{\r
if (Time->Year < 1998 ||\r