PcAtChipsetPkg: Fix PCD expression build failure
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 12 Jun 2015 01:43:46 +0000 (01:43 +0000)
committerniruiyu <niruiyu@Edk2>
Fri, 12 Jun 2015 01:43:46 +0000 (01:43 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17628 6f19259b-4bc3-4df7-8a09-765794883524

PcAtChipsetPkg/PcAtChipsetPkg.dec
PcAtChipsetPkg/PcAtChipsetPkg.uni

index 6a1415c..cbd5707 100644 (file)
 [Guids]\r
   gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } }\r
 \r
+#\r
+# [Error.gPcAtChipsetPkgTokenSpaceGuid]\r
+#   0x80000001 | Invalid value provided.\r
+#\r
+\r
 [PcdsFeatureFlag]\r
   ## Indicates the HPET Timer will be configured to use MSI interrupts if the HPET timer supports them, or use I/O APIC interrupts.<BR><BR>\r
   #   TRUE  - Configures the HPET Timer to use MSI interrupts if the HPET Timer supports them.<BR>\r
 \r
   ## This PCD specifies the maximal valid year in RTC.\r
   # @Prompt Maximal valid year in RTC.\r
-  # @Expression gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100\r
+  # @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100\r
   gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|2097|UINT16|0x0000000E\r
   \r
 [PcdsFixedAtBuild, PcdsPatchableInModule]\r
index e6d9163..0ce08d4 100644 (file)
Binary files a/PcAtChipsetPkg/PcAtChipsetPkg.uni and b/PcAtChipsetPkg/PcAtChipsetPkg.uni differ