]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Dxe/ArchProtocol/RealTimeClock.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Dxe / ArchProtocol / RealTimeClock.h
diff --git a/OldMdePkg/Include/Dxe/ArchProtocol/RealTimeClock.h b/OldMdePkg/Include/Dxe/ArchProtocol/RealTimeClock.h
new file mode 100644 (file)
index 0000000..dc968e1
--- /dev/null
@@ -0,0 +1,41 @@
+/** @file\r
+  Real Time clock Architectural Protocol as defined in DXE CIS\r
+\r
+  This code abstracts time and data functions. Used to provide\r
+  Time and date related EFI runtime services.\r
+\r
+  The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () EFI 1.0\r
+  services are added to the EFI system table and the \r
+  EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL \r
+  pointer.\r
+\r
+  No CRC of the EFI system table is required, as it is done in the DXE core.\r
+\r
+  Copyright (c) 2006, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this distribution.  The full text of the license may be found at        \r
+  http://opensource.org/licenses/bsd-license.php                                            \r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+  Module Name:  RealTimeClock.h\r
+\r
+  @par Revision Reference:\r
+  Version 0.91B.\r
+\r
+**/\r
+\r
+#ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__\r
+#define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__\r
+\r
+//\r
+// Global ID for the Real Time Clock Architectural Protocol\r
+//\r
+#define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \\r
+  { 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }\r
+\r
+extern EFI_GUID gEfiRealTimeClockArchProtocolGuid;\r
+\r
+#endif\r