]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/MdeModulePkg.dsc
MdeModulePkg/AhciPei: Add AHCI mode ATA device support in PEI
authorHao Wu <hao.a.wu@intel.com>
Fri, 22 Jun 2018 08:53:28 +0000 (16:53 +0800)
committerHao Wu <hao.a.wu@intel.com>
Fri, 22 Feb 2019 00:20:08 +0000 (08:20 +0800)
commit87bc3f192e17cd8f7caf0f3b7a87e039ceab323f
tree392db15092df500941fabb976662af64b3ab9184
parent05fd2a9268332d770dd082be4af076ba0217cf54
MdeModulePkg/AhciPei: Add AHCI mode ATA device support in PEI

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1409

This commit will add the AHCI mode ATA device support in the PEI phase.

More specifically, the newly add AhciPei driver will consume the ATA AHCI
host controller PPI for ATA controllers working under AHCI code within the
system. And then produces the below PPIs for each controller:

EDKII PEI ATA PassThru PPI
Storage Security Command PPI

Also, the driver will consume the S3StorageDeviceInitList LockBox in S3
phase. The purpose is to perform an on-demand (partial) ATA device
enumeration/initialization on each controller to benefit the S3 resume
performance.

The implementation of this driver is currently based on the below
specifications:
Serial ATA Revision 2.6
Serial ATA Advanced Host Controller Interface (AHCI) 1.3.1
AT Attachment with Packet Interface - 6 (ATA/ATAPI-6)

Cc: Jian J Wang <jian.j.wang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
14 files changed:
MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.inf [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.uni [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiExtra.uni [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiPassThru.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiPassThru.h [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiS3.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.h [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/DevicePath.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/DmaMem.c [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dsc