2007-07-19 12:26:16 +02:00
|
|
|
#/** @file
|
|
|
|
#
|
2008-12-10 09:37:09 +01:00
|
|
|
# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
2008-12-10 09:37:09 +01:00
|
|
|
# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.
|
|
|
|
# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.
|
2007-07-24 12:52:02 +02:00
|
|
|
#
|
2008-12-10 09:37:09 +01:00
|
|
|
# Copyright (c) 2006 - 2008 Intel Corporation. <BR>
|
|
|
|
# All rights reserved. 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
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
2008-12-10 09:37:09 +01:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2007-07-19 12:26:16 +02:00
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[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.common]
|
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
|
2008-05-06 07:38:06 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.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
|
2007-07-19 12:26:16 +02:00
|
|
|
|
2008-05-06 07:38:06 +02:00
|
|
|
[Guids]
|
2009-01-08 08:46:00 +01:00
|
|
|
gEfiGenericPlatformVariableGuid ## PRODUCES ##Variable:L"TimerVar"
|
|
|
|
gEfiGenericPlatformVariableGuid ## CONSUMES ##Variable:L"TimerVar"
|
2008-05-06 07:38:06 +02:00
|
|
|
|
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
|
|
|
|
|
|
|
[Depex]
|
2008-05-06 07:38:06 +02:00
|
|
|
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
|
2008-07-16 13:50:02 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2009-01-08 08:46:00 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES
|