Revision: 17628
          http://sourceforge.net/p/edk2/code/17628
Author:   niruiyu
Date:     2015-06-12 01:43:46 +0000 (Fri, 12 Jun 2015)
Log Message:
-----------
PcAtChipsetPkg: Fix PCD expression build failure

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.dec
    trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.uni

Modified: trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.dec
===================================================================
--- trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.dec        2015-06-12 00:58:18 UTC 
(rev 17627)
+++ trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.dec        2015-06-12 01:43:46 UTC 
(rev 17628)
@@ -34,6 +34,11 @@
 [Guids]
   gPcAtChipsetPkgTokenSpaceGuid = { 0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 
0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } }
 
+#
+# [Error.gPcAtChipsetPkgTokenSpaceGuid]
+#   0x80000001 | Invalid value provided.
+#
+
 [PcdsFeatureFlag]
   ## 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>
   #   TRUE  - Configures the HPET Timer to use MSI interrupts if the HPET 
Timer supports them.<BR>
@@ -123,7 +128,7 @@
 
   ## This PCD specifies the maximal valid year in RTC.
   # @Prompt Maximal valid year in RTC.
-  # @Expression gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear < 
gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100
+  # @Expression 0x80000001 | gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear 
< gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear + 100
   gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|2097|UINT16|0x0000000E
   
 [PcdsFixedAtBuild, PcdsPatchableInModule]

Modified: trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.uni
===================================================================
--- trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.uni        2015-06-12 00:58:18 UTC 
(rev 17627)
+++ trunk/edk2/PcAtChipsetPkg/PcAtChipsetPkg.uni        2015-06-12 01:43:46 UTC 
(rev 17628)
@@ -280,4 +280,8 @@
  ++ \ No newline at end of file


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to