Add OptionRomPkg, it contains AtapiPassThru driver for the test purpose of Scsi Bus support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4309 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/OptionRomPkg/OptionRomPkg.dsc b/OptionRomPkg/OptionRomPkg.dsc
new file mode 100644
index 0000000..ed53dbe
--- /dev/null
+++ b/OptionRomPkg/OptionRomPkg.dsc
@@ -0,0 +1,92 @@
+#/** @file

+# Option Rom Package build validation file for All Architectures.

+#

+# 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. 

+#

+# Copyright (c) 2007, Intel Corporation

+#

+# 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.

+#

+#**/

+

+################################################################################

+#

+# Defines Section - statements that will be processed to create a Makefile.

+#

+################################################################################

+[Defines]

+  PLATFORM_NAME                  = OptionRomPkg

+  PLATFORM_GUID                  = C7B25F37-B1F4-4c46-99CB-3EA7DCF5FCDC

+  PLATFORM_VERSION               = 0.1

+  DSC_SPECIFICATION              = 0x00010005

+  OUTPUT_DIRECTORY               = Build/OptionRomPkg

+  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC

+  BUILD_TARGETS                  = DEBUG|RELEASE

+  SKUID_IDENTIFIER               = DEFAULT

+

+################################################################################

+#

+# SKU Identification section - list of all SKU IDs supported by this

+#                              Platform.

+#

+################################################################################

+[SkuIds]

+  0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.

+

+[LibraryClasses.common]

+  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf

+  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

+  CpuLib|MdePkg/Library/CpuLib/CpuLib.inf

+  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf

+  PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf

+  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

+  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf

+  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf

+  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf

+  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf

+  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf

+  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf

+  MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf

+  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf

+  

+################################################################################

+#

+# Pcd Section - list of all EDK II PCD Entries defined by this Platform

+#

+################################################################################

+[PcdsFeatureFlag.common]

+  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE

+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE

+  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE

+  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE

+  gOptionRomPkgTokenSpaceGuid.PcdSupportScsiPassThru|TRUE

+  gOptionRomPkgTokenSpaceGuid.PcdSupportExtScsiPassThru|TRUE

+

+[PcdsFixedAtBuild.common]

+  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|0x0

+  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|0x0

+  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0x0

+  gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|0x0

+  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27

+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042

+  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06

+  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0x0

+

+################################################################################

+#

+# Components Section - list of all EDK II Modules needed by this Platform

+#

+################################################################################

+

+[Components.common]

+  OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf

+