4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Provides Set/Get time operations.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCopyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncThis program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncare licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncwhich accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the current time and date information, and the time-keeping capabilities
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync of the hardware platform.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Time A pointer to storage to receive a snapshot of the current time.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Capabilities An optional pointer to a buffer to receive the real time
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync clock device's capabilities.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The operation completed successfully.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER Time is NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR The time could not be retrieved due to hardware error.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync return PcRtcGetTime (Time, Capabilities, &mModuleGlobal);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Sets the current local time and date information.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Time A pointer to the current time.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The operation completed successfully.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER A time field is out of range.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR The time could not be set due due to hardware error.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Returns the current wakeup alarm clock setting.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Enabled Indicates if the alarm is currently enabled or disabled.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Pending Indicates if the alarm signal is pending and requires acknowledgement.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Time The current alarm setting.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The alarm settings were returned.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER Enabled is NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER Pending is NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER Time is NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR The wakeup time could not be retrieved due to a hardware error.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_UNSUPPORTED A wakeup timer is not supported on this platform.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync return PcRtcGetWakeupTime (Enabled, Pending, Time, &mModuleGlobal);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Sets the system wakeup alarm clock time.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Enabled Enable or disable the wakeup alarm.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Time If Enable is TRUE, the time to set the wakeup alarm for.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Enable is FALSE, then this parameter is optional, and may be NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS If Enable is TRUE, then the wakeup alarm was enabled.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If Enable is FALSE, then the wakeup alarm was disabled.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER A time field is out of range.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR The wakeup time could not be set due to a hardware error.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_UNSUPPORTED A wakeup timer is not supported on this platform.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync return PcRtcSetWakeupTime (Enabled, Time, &mModuleGlobal);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The user Entry Point for PcRTC module.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This is the entrhy point for PcRTC module. It installs the UEFI runtime service
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync including GetTime(),SetTime(),GetWakeupTime(),and SetWakeupTime().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ImageHandle The firmware allocated handle for the EFI image.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param SystemTable A pointer to the EFI System Table.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The entry point is executed successfully.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Others Some error occurs when executing this entry point.