]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe: Replace RTC macros
[mirror_edk2.git] / PcAtChipsetPkg / PcatRealTimeClockRuntimeDxe / PcatRealTimeClockRuntimeDxe.inf
... / ...
CommitLineData
1## @file\r
2# PcRtc driver to install EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL.\r
3#\r
4# This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime services to Runtime Service Table.\r
5# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.\r
6#\r
7# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
8# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>\r
9#\r
10# This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php\r
14#\r
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17#\r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = PcRtc\r
23 MODULE_UNI_FILE = PcRtc.uni\r
24 FILE_GUID = 378D7B65-8DA9-4773-B6E4-A47826A833E1\r
25 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
26 VERSION_STRING = 1.0\r
27 ENTRY_POINT = InitializePcRtc\r
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
32# VALID_ARCHITECTURES = IA32 X64 EBC\r
33#\r
34\r
35[Sources]\r
36 PcRtcEntry.c\r
37 PcRtc.c\r
38 PcRtc.h\r
39\r
40[Packages]\r
41 MdePkg/MdePkg.dec\r
42 MdeModulePkg/MdeModulePkg.dec\r
43 PcAtChipsetPkg/PcAtChipsetPkg.dec\r
44\r
45[LibraryClasses]\r
46 UefiRuntimeServicesTableLib\r
47 UefiRuntimeLib\r
48 UefiBootServicesTableLib\r
49 UefiDriverEntryPoint\r
50 TimerLib\r
51 IoLib\r
52 BaseMemoryLib\r
53 UefiLib\r
54 DebugLib\r
55 BaseLib\r
56 PcdLib\r
57 ReportStatusCodeLib\r
58\r
59[Protocols]\r
60 gEfiRealTimeClockArchProtocolGuid ## PRODUCES\r
61\r
62[Guids]\r
63 ## SOMETIMES_CONSUMES ## Event\r
64 ## SOMETIMES_CONSUMES ## SystemTable\r
65 gEfiAcpi10TableGuid\r
66\r
67 ## SOMETIMES_CONSUMES ## Event\r
68 ## SOMETIMES_CONSUMES ## SystemTable\r
69 gEfiAcpiTableGuid\r
70\r
71[FixedPcd]\r
72 gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA ## CONSUMES\r
73 gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB ## CONSUMES\r
74 gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD ## CONSUMES\r
75 \r
76[Pcd]\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES\r
78 gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear ## CONSUMES\r
79 gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear ## CONSUMES\r
80\r
81[Depex]\r
82 gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
83\r
84[UserExtensions.TianoCore."ExtraFiles"]\r
85 PcRtcExtra.uni\r