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