]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/RealTimeClockLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmbeddedPkg / Include / Library / RealTimeClockLib.h
index 59a34aad13adeec53dbec8c366d35c33cc7f3bf0..ff45e26d6cfc0b405990b47b60c41db453e374c7 100644 (file)
@@ -5,20 +5,13 @@
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \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
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #ifndef __REAL_TIME_CLOCK_LIB__\r
 #define __REAL_TIME_CLOCK_LIB__\r
 \r
-\r
 /**\r
   Returns the current time and date information, and the time-keeping capabilities\r
   of the hardware platform.\r
@@ -39,7 +32,6 @@ LibGetTime (
   OUT  EFI_TIME_CAPABILITIES  *Capabilities\r
   );\r
 \r
-\r
 /**\r
   Sets the current local time and date information.\r
 \r
@@ -47,16 +39,15 @@ LibGetTime (
 \r
   @retval EFI_SUCCESS           The operation completed successfully.\r
   @retval EFI_INVALID_PARAMETER A time field is out of range.\r
-  @retval EFI_DEVICE_ERROR      The time could not be set due due to hardware error.\r
+  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware error.\r
 \r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 LibSetTime (\r
-  IN EFI_TIME                *Time\r
+  IN EFI_TIME  *Time\r
   );\r
 \r
-\r
 /**\r
   Returns the current wakeup alarm clock setting.\r
 \r
@@ -72,12 +63,11 @@ LibSetTime (
 EFI_STATUS\r
 EFIAPI\r
 LibGetWakeupTime (\r
-  OUT BOOLEAN     *Enabled,\r
-  OUT BOOLEAN     *Pending,\r
-  OUT EFI_TIME    *Time\r
+  OUT BOOLEAN   *Enabled,\r
+  OUT BOOLEAN   *Pending,\r
+  OUT EFI_TIME  *Time\r
   );\r
 \r
-\r
 /**\r
   Sets the system wakeup alarm clock time.\r
 \r
@@ -94,12 +84,10 @@ LibGetWakeupTime (
 EFI_STATUS\r
 EFIAPI\r
 LibSetWakeupTime (\r
-  IN BOOLEAN      Enabled,\r
-  OUT EFI_TIME    *Time\r
+  IN BOOLEAN    Enabled,\r
+  OUT EFI_TIME  *Time\r
   );\r
 \r
-\r
-\r
 /**\r
   This is the declaration of an EFI image entry point. This can be the entry point to an application\r
   written to this specification, an EFI boot service driver, or an EFI runtime driver.\r
@@ -113,11 +101,10 @@ LibSetWakeupTime (
 EFI_STATUS\r
 EFIAPI\r
 LibRtcInitialize (\r
-  IN EFI_HANDLE                            ImageHandle,\r
-  IN EFI_SYSTEM_TABLE                      *SystemTable\r
+  IN EFI_HANDLE        ImageHandle,\r
+  IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
-\r
 /**\r
   Fixup internal data so that EFI can be call in virtual mode.\r
   Call the passed in Child Notify event and convert any pointers in\r
@@ -129,10 +116,8 @@ LibRtcInitialize (
 VOID\r
 EFIAPI\r
 LibRtcVirtualNotifyEvent (\r
-  IN EFI_EVENT        Event,\r
-  IN VOID             *Context\r
+  IN EFI_EVENT  Event,\r
+  IN VOID       *Context\r
   );\r
 \r
-\r
 #endif\r
-\r