Sava,
What Reza proposed is to add UEFI AHCI support (by UEFI BLOCK_IO protocol)
rather than legacy AHCI support (by int 13 service). The latter is usually
provided by IHV’s legacy AHCI oprom.
For UEFI AHCI support, BDS boot manager creates boot option according to UEFI
block io interface rather than BBS entry.
For legacy AHCI boot, LegacyBiosDxe have had corresponding code to handle
legacy AHCI oprom to fill Bbs entry.
Thanks
Feng
From: A. Sava [mailto:asava....@gmail.com]
Sent: Monday, September 01, 2014 20:29
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [PATCH v2 0/6] enable SataController in OVMF
As we add now Ahci support, we probably should also add Ahci support to Csm
module (IntelFrameworkModulePkg/Csm/LegacyBiosDxe), otherwise Ahci devices
won't appear as Legacy entries.
On Thu, Aug 21, 2014 at 12:55 PM,
<reza.jel...@tuhh.de<mailto:reza.jel...@tuhh.de>> wrote:
From: Reza Jelveh <reza.jel...@tuhh.de<mailto:reza.jel...@tuhh.de>>
The SataController is moved to PcAtChipsetPkg where the IdeController
resides. The SataController is also enabled for OVMF.
Certain controllers such as Marvel 9230 controller use a D2H FIS instead
of PIO Setup FIS to denote the end of a PIO data-in command.
Some dependency on SataController is removed from IdeMode and SataController
channel detection is moved to later after protocol installation
IdeMode is fixed to porperly detect slave mode devices.
Reza Jelveh (6):
MdeModulePkg: Check D2H register status in AhciPioTransfer
DuetPkg: Move SataControllerDxe to PcAtChipsetPkg
OvmfPkg: enable SATA controller
PcAtChipsetPkg: read host capabilities on ChannelInfo
MdeModulePkg: AhciMode calls GetChannelInfo when enumerating
MdeModulePkg; IdeMode needs to select master or slave before
diagnostics command
DuetPkg/DuetPkg.fdf | 2 +-
DuetPkg/DuetPkgIa32.dsc | 2 +-
DuetPkg/DuetPkgX64.dsc | 2 +-
DuetPkg/SataControllerDxe/ComponentName.c | 176 ----
DuetPkg/SataControllerDxe/SataController.c | 1007 -------------------
DuetPkg/SataControllerDxe/SataController.h | 542 -----------
DuetPkg/SataControllerDxe/SataControllerDxe.inf | 49 -
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 30 +-
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h | 3 +
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c | 9 +-
OvmfPkg/OvmfPkgIa32.dsc | 5 +-
OvmfPkg/OvmfPkgIa32.fdf | 5 +-
OvmfPkg/OvmfPkgIa32X64.dsc | 5 +-
OvmfPkg/OvmfPkgIa32X64.fdf | 5 +-
OvmfPkg/OvmfPkgX64.dsc | 5 +-
OvmfPkg/OvmfPkgX64.fdf | 5 +-
.../Bus/Pci/SataControllerDxe/ComponentName.c | 176 ++++
.../Bus/Pci/SataControllerDxe/SataController.c | 1019 ++++++++++++++++++++
.../Bus/Pci/SataControllerDxe/SataController.h | 542 +++++++++++
.../Pci/SataControllerDxe/SataControllerDxe.inf | 49 +
20 files changed, 1843 insertions(+), 1795 deletions(-)
delete mode 100644 DuetPkg/SataControllerDxe/ComponentName.c
delete mode 100644 DuetPkg/SataControllerDxe/SataController.c
delete mode 100644 DuetPkg/SataControllerDxe/SataController.h
delete mode 100644 DuetPkg/SataControllerDxe/SataControllerDxe.inf
create mode 100644 PcAtChipsetPkg/Bus/Pci/SataControllerDxe/ComponentName.c
create mode 100644 PcAtChipsetPkg/Bus/Pci/SataControllerDxe/SataController.c
create mode 100644 PcAtChipsetPkg/Bus/Pci/SataControllerDxe/SataController.h
create mode 100644
PcAtChipsetPkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
--
1.9.2
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel