diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-21 14:25:43 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-21 14:25:43 +0000 |
commit | 56836fe92b0a7284bc2e964065e00ad867145826 (patch) | |
tree | 6528bf8403b71144f6c7e33a2b51d305b032b1a8 /EdkModulePkg/EdkModulePkg.spd | |
parent | 3f566587aea64bb986866c7f69a6b82891bf59db (diff) | |
download | edk2-platforms-56836fe92b0a7284bc2e964065e00ad867145826.tar.xz |
1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1067 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/EdkModulePkg.spd')
-rw-r--r-- | EdkModulePkg/EdkModulePkg.spd | 171 |
1 files changed, 134 insertions, 37 deletions
diff --git a/EdkModulePkg/EdkModulePkg.spd b/EdkModulePkg/EdkModulePkg.spd index 8c3197e60c..218156b58d 100644 --- a/EdkModulePkg/EdkModulePkg.spd +++ b/EdkModulePkg/EdkModulePkg.spd @@ -24,10 +24,6 @@ <IncludeHeader>Include/Library/CustomDecompressLib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
- <LibraryClass Name="EdkBsDataHubStatusCodeLib">
- <IncludeHeader>Include/Library/EdkBsDataHubStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </LibraryClass>
<LibraryClass Name="EdkDxeSalLib">
<IncludeHeader>Include/Library/EdkDxeSalLib.h</IncludeHeader>
<HelpText/>
@@ -44,10 +40,6 @@ <IncludeHeader>Include/Library/EdkIfrSupportLib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
- <LibraryClass Name="EdkMemoryStatusCodeLib">
- <IncludeHeader>Include/Library/EdkMemoryStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </LibraryClass>
<LibraryClass Name="EdkPeCoffLoaderLib">
<IncludeHeader>Include/Library/EdkPeCoffLoaderLib.h</IncludeHeader>
<HelpText/>
@@ -56,14 +48,6 @@ <IncludeHeader>Include/Library/EdkPeCoffLoaderX64Lib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
- <LibraryClass Name="EdkRtMemoryStatusCodeLib">
- <IncludeHeader>Include/Library/EdkRtMemoryStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </LibraryClass>
- <LibraryClass Name="EdkRtPlatformStatusCodeLib">
- <IncludeHeader>Include/Library/EdkRtPlatformStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </LibraryClass>
<LibraryClass Name="EdkScsiLib">
<IncludeHeader>Include/Library/EdkScsiLib.h</IncludeHeader>
<HelpText/>
@@ -76,6 +60,14 @@ <IncludeHeader>Include/Library/TianoDecompressLib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
+ <LibraryClass Name="SerialPortLib">
+ <IncludeHeader>Include/Library/SerialPortLib.h</IncludeHeader>
+ <HelpText/>
+ </LibraryClass>
+ <LibraryClass Name="OemHookStatusCodeLib">
+ <IncludeHeader>Include/Library/OemHookStatusCodeLib.h</IncludeHeader>
+ <HelpText/>
+ </LibraryClass>
</LibraryClassDeclarations>
<IndustryStdIncludes>
<IndustryStdHeader Name="CapsuleName">
@@ -198,10 +190,6 @@ <IncludeHeader>Include/Library/CustomDecompressLib.h</IncludeHeader>
<HelpText/>
</IndustryStdHeader>
- <IndustryStdHeader Name="EdkBsDataHubStatusCodeLib">
- <IncludeHeader>Include/Library/EdkBsDataHubStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </IndustryStdHeader>
<IndustryStdHeader Name="EdkDxeSalLib">
<IncludeHeader>Include/Library/EdkDxeSalLib.h</IncludeHeader>
<HelpText/>
@@ -218,10 +206,6 @@ <IncludeHeader>Include/Library/EdkIfrSupportLib.h</IncludeHeader>
<HelpText/>
</IndustryStdHeader>
- <IndustryStdHeader Name="EdkMemoryStatusCodeLib">
- <IncludeHeader>Include/Library/EdkMemoryStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </IndustryStdHeader>
<IndustryStdHeader Name="EdkPeCoffLoaderLib">
<IncludeHeader>Include/Library/EdkPeCoffLoaderLib.h</IncludeHeader>
<HelpText/>
@@ -230,14 +214,6 @@ <IncludeHeader>Include/Library/EdkPeCoffLoaderX64Lib.h</IncludeHeader>
<HelpText/>
</IndustryStdHeader>
- <IndustryStdHeader Name="EdkRtMemoryStatusCodeLib">
- <IncludeHeader>Include/Library/EdkRtMemoryStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </IndustryStdHeader>
- <IndustryStdHeader Name="EdkRtPlatformStatusCodeLib">
- <IncludeHeader>Include/Library/EdkRtPlatformStatusCodeLib.h</IncludeHeader>
- <HelpText/>
- </IndustryStdHeader>
<IndustryStdHeader Name="EdkScsiLib">
<IncludeHeader>Include/Library/EdkScsiLib.h</IncludeHeader>
<HelpText/>
@@ -424,18 +400,16 @@ <Filename>Library/EdkFvbServiceLib/EdkFvbServiceLib.msa</Filename>
<Filename>Library/EdkGraphicsLib/EdkGraphicsLib.msa</Filename>
<Filename>Library/EdkIfrSupportLib/EdkIfrSupportLib.msa</Filename>
- <Filename>Library/EdkMemoryStatusCodeLib/EdkMemoryStatusCodeLib.msa</Filename>
<Filename>Library/EdkNullCustomizedDecompressLib/EdkNullCustomizedDecompressLib.msa</Filename>
<Filename>Library/EdkPeCoffLoaderLib/EdkPeCoffLoaderLib.msa</Filename>
<Filename>Library/EdkPeCoffLoaderX64Lib/EdkPeCoffLoaderX64Lib.msa</Filename>
<Filename>Library/PeiPerformanceLib/PeiPerformanceLib.msa</Filename>
- <Filename>Library/EdkRuntimeStatusCodeLib/BsDataHubStatusCode/BsDataHubStatusCode.msa</Filename>
- <Filename>Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.msa</Filename>
- <Filename>Library/EdkRuntimeStatusCodeLib/RtPlatformStatusCode/RtPlatformStatusCode.msa</Filename>
<Filename>Library/EdkScsiLib/EdkScsiLib.msa</Filename>
<Filename>Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa</Filename>
<Filename>Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa</Filename>
<Filename>Library/EdkUsbLib/EdkUsbLib.msa</Filename>
+ <Filename>Library/EdkSerialPortLibNull/EdkSerialPortLibNull.msa</Filename>
+ <Filename>Library/EdkOemHookStatusCodeLibNull/EdkOemHookStatusCodeLibNull.msa</Filename>
<Filename>Universal/Console/ConSplitter/Dxe/ConSplitter.msa</Filename>
<Filename>Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.msa</Filename>
<Filename>Universal/Console/Terminal/Dxe/Terminal.msa</Filename>
@@ -460,7 +434,6 @@ <Filename>Universal/PCD/Dxe/Pcd.msa</Filename>
<Filename>Universal/Runtime/RuntimeDxe/Runtime.msa</Filename>
<Filename>Universal/Security/SecurityStub/Dxe/SecurityStub.msa</Filename>
- <Filename>Universal/StatusCode/RuntimeDxe/StatusCode.msa</Filename>
<Filename>Universal/UserInterface/HiiDataBase/Dxe/HiiDatabase.msa</Filename>
<Filename>Universal/UserInterface/DriverSample/DriverSample.msa</Filename>
<Filename>Universal/UserInterface/SetupBrowser/Dxe/SetupBrowser.msa</Filename>
@@ -469,6 +442,8 @@ <Filename>Universal/Variable/RuntimeDxe/Variable.msa</Filename>
<Filename>Universal/Capsule/RuntimeDxe/CapsuleRuntime.msa</Filename>
<Filename>Universal/WatchdogTimer/Dxe/WatchDogTimer.msa</Filename>
+ <Filename>Universal/StatusCode/Pei/PeiStatusCode.msa</Filename>
+ <Filename>Universal/StatusCode/Dxe/DxeStatusCode.msa</Filename>
</MsaFiles>
<PackageHeaders>
<IncludePkgHeader ModuleType="SEC">Include/EdkPeim.h</IncludePkgHeader>
@@ -663,6 +638,11 @@ <GuidValue>EC4DF5AF-4395-4CC9-94DE-77506D12C7B8</GuidValue>
<HelpText/>
</Entry>
+ <Entry Name="MemoryStatusCodeRecord">
+ <C_Name>gMemoryStatusCodeRecordGuid</C_Name>
+ <GuidValue>060CC026-4C0D-4DDA-8F41-595FEF00A502</GuidValue>
+ <HelpText/>
+ </Entry>
</GuidDeclarations>
<ProtocolDeclarations>
<Entry Name="Capsule">
@@ -886,5 +866,122 @@ <HelpText>This feature flag can be used to enable or disable the Pcd DXE database
traverse capability. Disable it can reduce the size of final image generated.</HelpText>
</PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseSerial</C_Name>
+ <Token>0x00010022</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>This feature flag can be used to enable or disable report staus code to serial I/O. Disable it can reduce the size of final image generated.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseMemory</C_Name>
+ <Token>0x00010023</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>This feature flag can be used to enable or disable save statuc code in GUID'ed HOB. Disable it can reduce the size of final image generated.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseOEM</C_Name>
+ <Token>0x00010024</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>This feature flag can be used to enable or disable send status code to OEM device. Disable it can reduce the size of final image generated.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeMemorySize</C_Name>
+ <Token>0x00010025</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT16</DatumType>
+ <ValidUsage>DYNAMIC</ValidUsage>
+ <DefaultValue>4</DefaultValue>
+ <HelpText>kbytes size of GUID'ed HOB, if the GUID'ed HOB is full, create new GUID'ed HOB with this size.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseEfiSerial</C_Name>
+ <Token>0x00010026</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to switch on/off report status code through serial DXE.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseHardSerial</C_Name>
+ <Token>0x00010027</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to switch on/off report status code to serial device.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseRuntimeMemory</C_Name>
+ <Token>0x00010028</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to switch on/off save status code in runtime memory.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeUseDataHub</C_Name>
+ <Token>0x00010029</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to switch on/off log status code in data hub.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeReplayInSerial</C_Name>
+ <Token>0x0001002a</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeReplayInRuntimeMemory</C_Name>
+ <Token>0x0001002b</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeReplayInDataHub</C_Name>
+ <Token>0x0001002c</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeReplayInOEM</C_Name>
+ <Token>0x0001002c</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>BOOLEAN</DatumType>
+ <ValidUsage>FEATURE_FLAG</ValidUsage>
+ <DefaultValue>FALSE</DefaultValue>
+ <HelpText>Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdStatusCodeRuntimeMemorySize</C_Name>
+ <Token>0x0001002d</Token>
+ <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT16</DatumType>
+ <ValidUsage>DYNAMIC</ValidUsage>
+ <DefaultValue>4</DefaultValue>
+ <HelpText>kbytes size of runtime memory.</HelpText>
+ </PcdEntry>
</PcdDeclarations>
</PackageSurfaceArea>
|