]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/RealTimeClock.h
add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[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 @par Revision Reference:
24 Version 0.91B.
25
26 **/
27
28 #ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
29 #define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
30
31 //
32 // Global ID for the Real Time Clock Architectural Protocol
33 //
34 #define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \
35 { 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
36
37 extern EFI_GUID gEfiRealTimeClockArchProtocolGuid;
38
39 #endif