]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/RealTimeClock.h
Checked in the Protocols introduced in UEFI/PI.
[mirror_edk2.git] / MdePkg / Include / Protocol / RealTimeClock.h
1 /** @file
2 Real Time clock Architectural Protocol as defined in DXE CIS
3
4 This code abstracts time and data functions. Used to provide
5 Time and date related EFI runtime services.
6
7 The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () EFI 1.0
8 services are added to the EFI system table and the
9 EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL
10 pointer.
11
12 No CRC of the EFI system table is required, as it is done in the DXE core.
13
14 Copyright (c) 2006, Intel Corporation
15 All rights reserved. This program and the accompanying materials
16 are licensed and made available under the terms and conditions of the BSD License
17 which accompanies this distribution. The full text of the license may be found at
18 http://opensource.org/licenses/bsd-license.php
19
20 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22
23 Module Name: RealTimeClock.h
24
25 @par Revision Reference:
26 Version 0.91B.
27
28 **/
29
30 #ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
31 #define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
32
33 //
34 // Global ID for the Real Time Clock Architectural Protocol
35 //
36 #define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \
37 { 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
38
39 extern EFI_GUID gEfiRealTimeClockArchProtocolGuid;
40
41 #endif