Fix bug which define different PCD with same token number in EdkModulePkg.spd.
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Jul 2006 08:02:55 +0000 (08:02 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Jul 2006 08:02:55 +0000 (08:02 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/EdkModulePkg.spd
EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c

index 218156b..6d8b4cd 100644 (file)
     </PcdEntry>\r
     <PcdEntry>\r
       <C_Name>PcdStatusCodeReplayInOEM</C_Name>\r
-      <Token>0x0001002c</Token>\r
+      <Token>0x0001002d</Token>\r
       <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
       <DatumType>BOOLEAN</DatumType>\r
       <ValidUsage>FEATURE_FLAG</ValidUsage>\r
     </PcdEntry>\r
     <PcdEntry>\r
       <C_Name>PcdStatusCodeRuntimeMemorySize</C_Name>\r
-      <Token>0x0001002d</Token>\r
+      <Token>0x0001002e</Token>\r
       <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
       <DatumType>UINT16</DatumType>\r
       <ValidUsage>DYNAMIC</ValidUsage>\r
index 9f1f922..e65294f 100644 (file)
@@ -170,7 +170,7 @@ SerialStatusCodeReportWorker (
     //\r
     // Callout to SerialPort Lib function to do print.\r
     //\r
-    SerialPortWrite (Buffer, CharCount);\r
+    SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
   }\r
   if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) {\r
     SerialIoProtocol->Write (\r
index fc22b62..049e4ef 100644 (file)
@@ -141,7 +141,7 @@ SerialStatusCodeReportWorker (
   //\r
   // Callout to SerialPort Lib function to do print.\r
   //\r
-  SerialPortWrite (Buffer, CharCount);\r
+  SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
 \r
   return EFI_SUCCESS;\r
 }\r