]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c
MdeModulePkg/AhciPei: Add PEI BlockIO support
authorHao Wu <hao.a.wu@intel.com>
Mon, 11 Mar 2019 01:52:57 +0000 (09:52 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 24 Apr 2019 08:13:19 +0000 (16:13 +0800)
commitb2b8e872fd1b3fd19464f0c8634b937c82fcf7c9
treed8f2e8a3abb9c8d0e8cc2b755edfab049b2f06ce
parent04c7a5febd82681692c95450ea1979daee8f31aa
MdeModulePkg/AhciPei: Add PEI BlockIO support

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

This commit will add the PEI BlockIO (2) PPIs support for AHCI mode ATA
devices.

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

EFI PEI Recovery Block IO PPI
EFI PEI Recovery Block IO2 PPI

Cc: Eric Dong <eric.dong@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.inf
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c [new file with mode: 0644]
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.h [new file with mode: 0644]