Fix bug which define different PCD with same token number in EdkModulePkg.spd.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1 2006-07-24 08:02:55 +00:00
parent 52cbbdbc16
commit a8bcbf3d11
3 changed files with 4 additions and 4 deletions

View File

@ -967,7 +967,7 @@
</PcdEntry> </PcdEntry>
<PcdEntry> <PcdEntry>
<C_Name>PcdStatusCodeReplayInOEM</C_Name> <C_Name>PcdStatusCodeReplayInOEM</C_Name>
<Token>0x0001002c</Token> <Token>0x0001002d</Token>
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName> <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
<DatumType>BOOLEAN</DatumType> <DatumType>BOOLEAN</DatumType>
<ValidUsage>FEATURE_FLAG</ValidUsage> <ValidUsage>FEATURE_FLAG</ValidUsage>
@ -976,7 +976,7 @@
</PcdEntry> </PcdEntry>
<PcdEntry> <PcdEntry>
<C_Name>PcdStatusCodeRuntimeMemorySize</C_Name> <C_Name>PcdStatusCodeRuntimeMemorySize</C_Name>
<Token>0x0001002d</Token> <Token>0x0001002e</Token>
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName> <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
<DatumType>UINT16</DatumType> <DatumType>UINT16</DatumType>
<ValidUsage>DYNAMIC</ValidUsage> <ValidUsage>DYNAMIC</ValidUsage>

View File

@ -170,7 +170,7 @@ SerialStatusCodeReportWorker (
// //
// Callout to SerialPort Lib function to do print. // Callout to SerialPort Lib function to do print.
// //
SerialPortWrite (Buffer, CharCount); SerialPortWrite ((UINT8 *) Buffer, CharCount);
} }
if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) { if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) {
SerialIoProtocol->Write ( SerialIoProtocol->Write (

View File

@ -141,7 +141,7 @@ SerialStatusCodeReportWorker (
// //
// Callout to SerialPort Lib function to do print. // Callout to SerialPort Lib function to do print.
// //
SerialPortWrite (Buffer, CharCount); SerialPortWrite ((UINT8 *) Buffer, CharCount);
return EFI_SUCCESS; return EFI_SUCCESS;
} }