xref: /illumos-gate/usr/src/boot/efi/include/Protocol/RealTimeClock.h (revision f334afcfaebea1b7dc3430015651d8d748fa8a3e)
1 /** @file
2   Real Time clock Architectural Protocol as defined in PI Specification VOLUME 2 DXE
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 () UEFI 2.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, since that is done in the DXE core.
13 
14   Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
15   SPDX-License-Identifier: BSD-2-Clause-Patent
16 
17 **/
18 
19 #ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
20 #define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
21 
22 ///
23 /// Global ID for the Real Time Clock Architectural Protocol
24 ///
25 #define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \
26   { 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
27 
28 extern EFI_GUID  gEfiRealTimeClockArchProtocolGuid;
29 
30 #endif
31