#/** @file\r
-# Description file for the Atapi Passthru component.\r
+# Description file for the Atapi Pass Thru driver.\r
#\r
# This driver simulates SCSI devices with Atapi devices to test the SCSI io\r
# protocol.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# Copyright (c) 2007, Intel Corporation\r
#\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
- BASE_NAME = AtapiPassThru\r
+ BASE_NAME = AtapiPassThruDxe\r
FILE_GUID = E49061CE-99A7-41d3-AB3A-36E5CFBAD63E\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+ <MsaHeader>\r
+ <ModuleName>AtapiPassThruDxe</ModuleName>\r
+ <ModuleType>UEFI_DRIVER</ModuleType>\r
+ <GuidValue>E49061CE-99A7-41d3-AB3A-36E5CFBAD63E</GuidValue>\r
+ <Version>0.1</Version>\r
+ <Abstract>Description file for the Atapi Pass Thru driver.</Abstract>\r
+ <Description>This driver simulates SCSI devices with Atapi devices to test the SCSI IO protocol.</Description>\r
+ <Copyright>Copyright (c) 2007, Intel Corporation.</Copyright>\r
+ <License>All rights reserved.
+ This program and the accompanying materials are licensed and made available
+ under the terms and conditions of the BSD License which accompanies this distribution.
+ The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
+ OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
+ <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
+ </MsaHeader>\r
+ <ModuleDefinitions>\r
+ <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
+ <BinaryModule>false</BinaryModule>\r
+ <OutputFileBasename>AtapiPassThruDxe</OutputFileBasename>\r
+ </ModuleDefinitions>\r
+ <SourceFiles>\r
+ <Filename>AtapiPassThru.c</Filename>\r
+ <Filename>AtapiPassThru.h</Filename>\r
+ <Filename>ComponentName.c</Filename>\r
+ <Filename>DriverSupportedEfiVersion.c</Filename>\r
+ </SourceFiles>\r
+ <LibraryClassDefinitions>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>DebugLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>BaseMemoryLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiDriverEntryPoint</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiBootServicesTableLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>BaseLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>MemoryAllocationLib</Keyword>\r
+ </LibraryClass>\r
+ </LibraryClassDefinitions>\r
+ <Protocols>\r
+ <Protocol Usage="BY_START">\r
+ <ProtocolCName>gEfiScsiPassThruProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="BY_START">\r
+ <ProtocolCName>gEfiExtScsiPassThruProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="TO_START">\r
+ <ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="ALWAYS_PRODUCED">\r
+ <ProtocolCName>gEfiDriverSupportedEfiVersionProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ </Protocols>\r
+ <PcdCoded>\r
+ <PcdEntry PcdItemType="FEATURE_FLAG">\r
+ <C_Name>PcdSupportScsiPassThru</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>Atapi Pass Thru driver supports to produce Scsi Pass Thru protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="FEATURE_FLAG">\r
+ <C_Name>PcdExtSupportScsiPassThru</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>Atapi Pass Thru driver supports to produce Ext Scsi Pass Thru protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="DYNAMIC">\r
+ <C_Name>PcdDriverSupportedEfiVersion</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>The firmware version field filled in EFI Driver Supported EFI Version protocol.</HelpText>\r
+ </PcdEntry>\r
+ </PcdCoded>\r
+ <Externs>\r
+ <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
+ <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
+ <Extern>\r
+ <ModuleEntryPoint>InitializeAtapiPassThru</ModuleEntryPoint>\r
+ </Extern>\r
+ </Externs>\r
+ <PackageDependencies>\r
+ <Package PackageVersion="0.1" PackageGuid="1E73767F-8F52-4603-AEB4-F29B510B6766"/>\r
+ <Package PackageVersion="0.1" PackageGuid="AA3865E8-7F30-4f59-8696-99F560101852"/>\r
+ </PackageDependencies>\r
+</ModuleSurfaceArea>
\ No newline at end of file
\r
[Defines]\r
INF_VERSION = 0x00010005\r
- BASE_NAME = CirrusLogic5430UgaDraw\r
+ BASE_NAME = CirrusLogic5430Dxe\r
FILE_GUID = 555F76EA-785F-40d7-9174-153C43636C68\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+ <MsaHeader>\r
+ <ModuleName>AtapiPassThruDxe</ModuleName>\r
+ <ModuleType>UEFI_DRIVER</ModuleType>\r
+ <GuidValue>555F76EA-785F-40d7-9174-153C43636C68</GuidValue>\r
+ <Version>0.1</Version>\r
+ <Abstract>Component description file for CirrusLogic5430 module.</Abstract>\r
+ <Description>Cirrus Logic 5430 Controller Driver.</Description>\r
+ <Copyright>Copyright (c) 2007, Intel Corporation.</Copyright>\r
+ <License>All rights reserved.
+ This program and the accompanying materials are licensed and made available
+ under the terms and conditions of the BSD License which accompanies this distribution.
+ The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
+ OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
+ <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
+ </MsaHeader>\r
+ <ModuleDefinitions>\r
+ <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
+ <BinaryModule>false</BinaryModule>\r
+ <OutputFileBasename>AtapiPassThruDxe</OutputFileBasename>\r
+ </ModuleDefinitions>\r
+ <SourceFiles>\r
+ <Filename>CirrusLogic5430.c</Filename>\r
+ <Filename>CirrusLogic5430.h</Filename>\r
+ <Filename>CirrusLogic5430GraphicsOutput.c</Filename>\r
+ <Filename>CirrusLogic5430UgaDraw.c</Filename>\r
+ <Filename>ComponentName.c</Filename>\r
+ <Filename>DriverSupportedEfiVersion.c</Filename>\r
+ </SourceFiles>\r
+ <LibraryClassDefinitions>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>DebugLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiDriverEntryPoint</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiBootServicesTableLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>UefiLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>BaseLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>MemoryAllocationLib</Keyword>\r
+ </LibraryClass>\r
+ </LibraryClassDefinitions>\r
+ <Protocols>\r
+ <Protocol Usage="BY_START">\r
+ <ProtocolCName>gEfiScsiPassThruProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="BY_START">\r
+ <ProtocolCName>gEfiExtScsiPassThruProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="TO_START">\r
+ <ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ <Protocol Usage="ALWAYS_PRODUCED">\r
+ <ProtocolCName>gEfiDriverSupportedEfiVersionProtocolGuid</ProtocolCName>\r
+ </Protocol>\r
+ </Protocols>\r
+ <PcdCoded>\r
+ <PcdEntry PcdItemType="FEATURE_FLAG">\r
+ <C_Name>PcdSupportGop</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>Cirrus Logic 5430 driver supports to produce GOP protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="FEATURE_FLAG">\r
+ <C_Name>PcdExtSupportUga</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>Cirrus Logic 5430 driver supports to produce UGA protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="DYNAMIC">\r
+ <C_Name>PcdDriverSupportedEfiVersion</C_Name>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>The firmware version field filled in EFI Driver Supported EFI Version protocol.</HelpText>\r
+ </PcdEntry>\r
+ </PcdCoded>\r
+ <Externs>\r
+ <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
+ <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
+ <Extern>\r
+ <ModuleEntryPoint>InitializeCirrusLogic5430</ModuleEntryPoint>\r
+ </Extern>\r
+ </Externs>\r
+ <PackageDependencies>\r
+ <Package PackageVersion="0.1" PackageGuid="1E73767F-8F52-4603-AEB4-F29B510B6766"/>\r
+ <Package PackageVersion="0.1" PackageGuid="AA3865E8-7F30-4f59-8696-99F560101852"/>\r
+ </PackageDependencies>\r
+</ModuleSurfaceArea>
\ No newline at end of file
[PcdsPatchableInModule.common]\r
gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion|0x0002000a|UINT32|0x00010003\r
\r
+[Guids.common]\r
+ gOptionRomPkgTokenSpaceGuid = { 0x1e43298f, 0x3478, 0x41a7, { 0xb5, 0x77, 0x86, 0x6, 0x46, 0x35, 0xc7, 0x28 } };\r
+\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+ <SpdHeader>\r
+ <PackageName>OptionRomPkg</PackageName>\r
+ <GuidValue>AA3865E8-7F30-4f59-8696-99F560101852</GuidValue>\r
+ <Version>0.1</Version>\r
+ <Abstract>Option Rom Package Reference Implementations.</Abstract>\r
+ <Description>This package is designed to interoperate with the EDK II open source project
+at http://www.tianocore.org, and this package is required to build PCI compliant
+Option ROM image for all CPU architectures, including EBC target.
+A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.</Description>\r
+ <Copyright>Copyright (c) 2007, Intel Corporation.</Copyright>\r
+ <License>All rights reserved.
+ This program and the accompanying materials are licensed and made available
+ under the terms and conditions of the BSD License which accompanies this distribution.
+ The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
+ OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
+ <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
+ </SpdHeader>\r
+ <PackageDefinitions>\r
+ <ReadOnly>false</ReadOnly>\r
+ <RePackage>false</RePackage>\r
+ </PackageDefinitions>\r
+ <MsaFiles>\r
+ <Filename>AtapiPassThruDxe/AtapiPassThruDxe.msa</Filename>\r
+ <Filename>CirrusLogic5430Dxe/CirrusLogic5430Dxe.msa</Filename>\r
+ </MsaFiles>\r
+ <GuidDeclarations>\r
+ <Entry Name="OptionRomPkgTokenSpace" GuidTypeList="TOKEN_SPACE_GUID">\r
+ <C_Name>gOptionRomPkgTokenSpaceGuid</C_Name>\r
+ <GuidValue>1E43298F-3478-41a7-B577-86064635C728</GuidValue>\r
+ <HelpText>Token space GUID for OptionRomPkg</HelpText>\r
+ </Entry>\r
+ </GuidDeclarations>\r
+ <PcdDeclarations>\r
+ <PcdEntry>\r
+ <C_Name>PcdSupportScsiPassThru</C_Name>\r
+ <Token>0x00010001</Token>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <DatumType>BOOLEAN</DatumType>\r
+ <ValidUsage>FEATURE_FLAG</ValidUsage>\r
+ <DefaultValue>TRUE</DefaultValue>\r
+ <HelpText>Option Rom Package driver to support the Scsi Pass Thru protocol</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry>\r
+ <C_Name>PcdSupportExtScsiPassThru</C_Name>\r
+ <Token>0x00010002</Token>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <DatumType>BOOLEAN</DatumType>\r
+ <ValidUsage>FEATURE_FLAG</ValidUsage>\r
+ <DefaultValue>TRUE</DefaultValue>\r
+ <HelpText>Option Rom Package driver to support the Ext Scsi Pass Thru protocol</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry>\r
+ <C_Name>PcdDriverSupportedEfiVersion</C_Name>\r
+ <Token>0x00010003</Token>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <DatumType>UINT32</DatumType>\r
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>\r
+ <DefaultValue>0x0002000a</DefaultValue>\r
+ <HelpText>The firmware version field of Driver Supported EFI version protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry>\r
+ <C_Name>PcdSupportGop</C_Name>\r
+ <Token>0x00010004</Token>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <DatumType>BOOLEAN</DatumType>\r
+ <ValidUsage>FEATURE_FLAG</ValidUsage>\r
+ <DefaultValue>TRUE</DefaultValue>\r
+ <HelpText>The driver in OptionRomPkg to support GOP protocol.</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry>\r
+ <C_Name>PcdSupportUga</C_Name>\r
+ <Token>0x00010005</Token>\r
+ <TokenSpaceGuidCName>gOptionRomPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <DatumType>BOOLEAN</DatumType>\r
+ <ValidUsage>FEATURE_FLAG</ValidUsage>\r
+ <DefaultValue>TRUE</DefaultValue>\r
+ <HelpText>The driver in OptionRomPkg to support UGA protocol.</HelpText>\r
+ </PcdEntry>\r
+ </PcdDeclarations>\r
+</PackageSurfaceArea>
\ No newline at end of file
\r
AtapiPassThru driver in this package can selectively produce ScsiPassThru\r
and/or ExtScsiPassThru protocol based on feature flags of PcdSupportScsiPassThru\r
- and PcdExtScsiPassThru.\r
+ and PcdSupportExtScsiPassThru.\r
\r
CirrusLogic5430:\r
Sample implementation of UGA Draw or Graphics Output Protocol for the Cirrus\r