audk/PcAtChipsetPkg
Michael D Kinney e9e6167123 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe: PcdRtcDefaultYear bounds
Add bounds checks of PcdRtcDefaultYear to guarantee that the year
is always between PcdMinimalValidYear and PcdMaximalValidYear.
This is required to make the following commit a backwards compatible
change and guarantee and invalid year is never set.

d55d73152e

This is required because use of an expression in the DEC file
PCD default value is only used to determine the DEC default values.
If an INF/DSC overrides PcdRtcDefaultYear, then the DEC expression
for PcdMinimalValidYear is not applied again.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2023-03-30 16:49:05 +00:00
..
Bus/Pci/IdeControllerDxe PcAtChipsetPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HpetTimerDxe PcAtChipsetPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Include PcAtChipsetPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Library PcAtChipsetPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PcatRealTimeClockRuntimeDxe PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe: PcdRtcDefaultYear bounds 2023-03-30 16:49:05 +00:00
PcAtChipsetPkg.ci.yaml PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml: Add configuration for Ecc check 2020-08-17 03:28:09 +00:00
PcAtChipsetPkg.dec PcAtChipsetPkg: Add PCD for RTC default year 2023-03-27 06:19:04 +00:00
PcAtChipsetPkg.dsc PcAtChipsetPkg: Remove UefiCpuLib from module INFs. 2023-03-10 08:23:56 +00:00
PcAtChipsetPkg.uni PcAtChipsetPkg: Add PCD for RTC default year 2023-03-27 06:19:04 +00:00
PcAtChipsetPkgExtra.uni PcAtChipsetPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:20 -07:00