2010-02-24 00:58:38 +01:00
|
|
|
## @file
|
2015-01-20 08:31:57 +01:00
|
|
|
# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
2015-01-20 08:31:57 +01:00
|
|
|
# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.
|
|
|
|
# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
2019-08-28 01:24:05 +02:00
|
|
|
# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
2017-10-31 18:52:42 +01:00
|
|
|
# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
|
|
|
|
#
|
2019-04-04 01:06:35 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
2010-02-24 00:58:38 +01:00
|
|
|
##
|
2007-07-19 12:26:16 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PcRtc
|
2014-08-28 07:17:22 +02:00
|
|
|
MODULE_UNI_FILE = PcRtc.uni
|
2007-07-19 12:26:16 +02:00
|
|
|
FILE_GUID = 378D7B65-8DA9-4773-B6E4-A47826A833E1
|
|
|
|
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = InitializePcRtc
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
|
|
#
|
|
|
|
|
2010-02-24 00:58:38 +01:00
|
|
|
[Sources]
|
2008-12-05 04:17:57 +01:00
|
|
|
PcRtcEntry.c
|
2007-07-19 12:26:16 +02:00
|
|
|
PcRtc.c
|
|
|
|
PcRtc.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2015-01-23 05:49:00 +01:00
|
|
|
PcAtChipsetPkg/PcAtChipsetPkg.dec
|
2007-07-19 12:26:16 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
UefiRuntimeLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
TimerLib
|
|
|
|
IoLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiLib
|
|
|
|
DebugLib
|
|
|
|
BaseLib
|
2008-07-16 15:32:36 +02:00
|
|
|
PcdLib
|
2012-10-30 05:25:20 +01:00
|
|
|
ReportStatusCodeLib
|
2007-07-19 12:26:16 +02:00
|
|
|
|
|
|
|
[Protocols]
|
2009-01-08 08:46:00 +01:00
|
|
|
gEfiRealTimeClockArchProtocolGuid ## PRODUCES
|
2007-07-19 12:26:16 +02:00
|
|
|
|
2015-12-22 14:52:47 +01:00
|
|
|
[Guids]
|
2017-09-25 13:06:16 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Event
|
|
|
|
## SOMETIMES_CONSUMES ## SystemTable
|
|
|
|
gEfiAcpi10TableGuid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## Event
|
|
|
|
## SOMETIMES_CONSUMES ## SystemTable
|
|
|
|
gEfiAcpiTableGuid
|
2015-12-22 14:52:47 +01:00
|
|
|
|
2017-10-31 18:52:42 +01:00
|
|
|
[FixedPcd]
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD ## CONSUMES
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2008-07-16 13:50:02 +02:00
|
|
|
[Pcd]
|
2019-08-28 01:24:05 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES
|
2015-01-23 05:49:00 +01:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear ## CONSUMES
|
2018-05-25 10:29:48 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister ## CONSUMES
|
2015-01-23 05:49:00 +01:00
|
|
|
|
2017-10-31 18:52:42 +01:00
|
|
|
[Depex]
|
|
|
|
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
|
|
|
|
|
2014-08-28 07:17:22 +02:00
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
PcRtcExtra.uni
|