-#/** @file\r
+## @file\r
+# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.\r
#\r
-# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.\r
+# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.\r
+# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.\r
#\r
-# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.\r
-# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>\r
#\r
-# Copyright (c) 2006 - 2008 Intel Corporation. <BR>\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
+# 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
+# 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
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = PcRtc\r
+ MODULE_UNI_FILE = PcRtc.uni\r
FILE_GUID = 378D7B65-8DA9-4773-B6E4-A47826A833E1\r
MODULE_TYPE = DXE_RUNTIME_DRIVER\r
VERSION_STRING = 1.0\r
# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
PcRtcEntry.c\r
PcRtc.c\r
PcRtc.h\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ PcAtChipsetPkg/PcAtChipsetPkg.dec\r
\r
[LibraryClasses]\r
UefiRuntimeServicesTableLib\r
DebugLib\r
BaseLib\r
PcdLib\r
+ ReportStatusCodeLib\r
\r
[Protocols]\r
gEfiRealTimeClockArchProtocolGuid ## PRODUCES\r
\r
+[Guids]\r
+ ## SOMETIMES_CONSUMES ## Event\r
+ ## SOMETIMES_CONSUMES ## SystemTable\r
+ gEfiAcpi10TableGuid\r
+\r
+ ## SOMETIMES_CONSUMES ## Event\r
+ ## SOMETIMES_CONSUMES ## SystemTable\r
+ gEfiAcpiTableGuid\r
+\r
+[FixedPcd]\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD ## CONSUMES\r
+\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister ## CONSUMES\r
+\r
[Depex]\r
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
- \r
-[Pcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES
\ No newline at end of file
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ PcRtcExtra.uni\r