summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 08:02:55 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 08:02:55 +0000
commita8bcbf3d1187bd3bc0edbca6a18ed9e98aa072d1 (patch)
tree85c2f93e9b1b3077134031bc269d72a60b925d22 /EdkModulePkg
parent52cbbdbc1680859f5303150d0699a1ebfaa485a4 (diff)
downloadedk2-platforms-a8bcbf3d1187bd3bc0edbca6a18ed9e98aa072d1.tar.xz
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
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/EdkModulePkg.spd4
-rw-r--r--EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c2
-rw-r--r--EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/EdkModulePkg/EdkModulePkg.spd b/EdkModulePkg/EdkModulePkg.spd
index 218156b58d..6d8b4cd2bf 100644
--- a/EdkModulePkg/EdkModulePkg.spd
+++ b/EdkModulePkg/EdkModulePkg.spd
@@ -967,7 +967,7 @@
</PcdEntry>
<PcdEntry>
<C_Name>PcdStatusCodeReplayInOEM</C_Name>
- <Token>0x0001002c</Token>
+ <Token>0x0001002d</Token>
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
<DatumType>BOOLEAN</DatumType>
<ValidUsage>FEATURE_FLAG</ValidUsage>
@@ -976,7 +976,7 @@
</PcdEntry>
<PcdEntry>
<C_Name>PcdStatusCodeRuntimeMemorySize</C_Name>
- <Token>0x0001002d</Token>
+ <Token>0x0001002e</Token>
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
<DatumType>UINT16</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
diff --git a/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c b/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
index 9f1f922269..e65294f370 100644
--- a/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
+++ b/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
@@ -170,7 +170,7 @@ SerialStatusCodeReportWorker (
//
// Callout to SerialPort Lib function to do print.
//
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
}
if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) {
SerialIoProtocol->Write (
diff --git a/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c b/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
index fc22b624ec..049e4ef778 100644
--- a/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
+++ b/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
@@ -141,7 +141,7 @@ SerialStatusCodeReportWorker (
//
// Callout to SerialPort Lib function to do print.
//
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
return EFI_SUCCESS;
}