2007-06-19 12:12:02 +02:00
|
|
|
/** @file
|
2008-07-25 12:37:15 +02:00
|
|
|
Real Time clock Architectural Protocol as defined in PI Specification VOLUME 2 DXE
|
2007-06-19 12:12:02 +02:00
|
|
|
|
|
|
|
This code abstracts time and data functions. Used to provide
|
|
|
|
Time and date related EFI runtime services.
|
|
|
|
|
2007-11-22 07:00:39 +01:00
|
|
|
The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () UEFI 2.0
|
2007-06-19 12:12:02 +02:00
|
|
|
services are added to the EFI system table and the
|
|
|
|
EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL
|
|
|
|
pointer.
|
|
|
|
|
|
|
|
No CRC of the EFI system table is required, as it is done in the DXE core.
|
|
|
|
|
2008-07-25 12:37:15 +02:00
|
|
|
Copyright (c) 2006 - 2008, Intel Corporation
|
2007-06-19 12:12:02 +02:00
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
|
|
|
|
#define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
|
|
|
|
|
|
|
|
//
|
|
|
|
// Global ID for the Real Time Clock Architectural Protocol
|
|
|
|
//
|
|
|
|
#define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \
|
|
|
|
{ 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
|
|
|
|
|
|
|
|
extern EFI_GUID gEfiRealTimeClockArchProtocolGuid;
|
|
|
|
|
|
|
|
#endif
|