REF: https://bugzilla.tianocore.org/show_bug.cgi?id=256 This commit adds the PEI BlockIo support for NVM Express devices. The driver will consume the EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI for NVM Express host controllers within the system. And then produces the BlockIo(2) PPIs for each controller. The implementation of this driver is currently based on the NVM Express 1.1 Specification, which is available at: http://nvmexpress.org/resources/specifications/ Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
70 lines
2.0 KiB
INI
70 lines
2.0 KiB
INI
## @file
|
|
# The NvmExpressPei driver is used to manage non-volatile memory subsystem
|
|
# which follows NVM Express specification at PEI phase.
|
|
#
|
|
# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# 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]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = NvmExpressPei
|
|
MODULE_UNI_FILE = NvmExpressPei.uni
|
|
FILE_GUID = 94813714-E10A-4798-9909-8C904F66B4D9
|
|
MODULE_TYPE = PEIM
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = NvmExpressPeimEntry
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
DmaMem.c
|
|
NvmExpressPei.c
|
|
NvmExpressPei.h
|
|
NvmExpressPeiBlockIo.c
|
|
NvmExpressPeiBlockIo.h
|
|
NvmExpressPeiHci.c
|
|
NvmExpressPeiHci.h
|
|
NvmExpressPeiPassThru.c
|
|
NvmExpressPeiPassThru.h
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
PeiServicesLib
|
|
MemoryAllocationLib
|
|
BaseMemoryLib
|
|
IoLib
|
|
PciLib
|
|
TimerLib
|
|
PeimEntryPoint
|
|
|
|
[Ppis]
|
|
gEfiPeiVirtualBlockIoPpiGuid ## PRODUCES
|
|
gEfiPeiVirtualBlockIo2PpiGuid ## PRODUCES
|
|
gEdkiiPeiNvmExpressHostControllerPpiGuid ## CONSUMES
|
|
gEdkiiIoMmuPpiGuid ## CONSUMES
|
|
gEfiEndOfPeiSignalPpiGuid ## CONSUMES
|
|
|
|
[Depex]
|
|
gEfiPeiMemoryDiscoveredPpiGuid AND
|
|
gEdkiiPeiNvmExpressHostControllerPpiGuid
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
NvmExpressPeiExtra.uni
|