93 lines
3.1 KiB
INI
93 lines
3.1 KiB
INI
## @file
|
|
# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.
|
|
# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.
|
|
# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.
|
|
#
|
|
#******************************************************************************
|
|
#* Copyright (c) 2012 - 2019, Insyde Software Corp. All Rights Reserved.
|
|
#*
|
|
#* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
#* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
#* any part of this publication in any form, by any means, without the prior
|
|
#* written permission of Insyde Software Corporation.
|
|
#*
|
|
#******************************************************************************
|
|
#
|
|
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
#
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = PcRtc
|
|
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
|
|
#
|
|
|
|
[Sources]
|
|
PcRtcEntry.c
|
|
PcRtc.c
|
|
PcRtc.h
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
InsydeModulePkg/InsydeModulePkg.dec
|
|
PcAtChipsetPkg/PcAtChipsetPkg.dec
|
|
|
|
[LibraryClasses]
|
|
UefiRuntimeServicesTableLib
|
|
UefiRuntimeLib
|
|
UefiBootServicesTableLib
|
|
UefiDriverEntryPoint
|
|
TimerLib
|
|
IoLib
|
|
BaseMemoryLib
|
|
UefiLib
|
|
DebugLib
|
|
BaseLib
|
|
PcdLib
|
|
CmosLib
|
|
HobLib
|
|
PostCodeLib
|
|
|
|
[Guids]
|
|
gEfiGenericVariableGuid
|
|
|
|
[Protocols]
|
|
gEfiRealTimeClockArchProtocolGuid ## PRODUCES
|
|
gEfiCpuArchProtocolGuid
|
|
|
|
[FixedPcd]
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA ## CONSUMES
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB ## CONSUMES
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD ## CONSUMES
|
|
|
|
[Depex]
|
|
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
|
|
|
|
[Pcd]
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitSecond
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitMinute
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitHour
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitDay
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitMonth
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockInitYear
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockYearMax
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockYearMin
|
|
gInsydeTokenSpaceGuid.PcdRealTimeClockRetryTime
|