[edk2] [PATCH 0/2] enable SATA controller for OVMF

Subject: [edk2] [PATCH 0/2] enable SATA controller for OVMF

From: reza.jelveh@tuhh.de

To: edk2-devel@lists.sourceforge.net

Date: 2014-08-07 02:16:17

  • 2014-08-07 02:16:17  reza.jelveh@tuhh.de  [edk2] [PATCH 0/2] enable SATA controller for OVMF
From: Reza Jelveh 

This allows OVMF to be used with Ahci mode in Qemu.

You can try it by using the following with your qemu image:

-drive id=disk,file=mac_hdd_raw.img,if=none  -device ahci,id=ahci
-device ide-drive,drive=disk,bus=ahci.0

Some sata controllers send all commands asynchronously therefore the
AtaPassthru needs to check the status of the D2H register


Reza Jelveh (2):
  OvmfPkg: enable SATA controller
  MdeModulePkg: Check D2H register status in AhciPioTransfer

 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c |  8 +++++++-
 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h |  2 ++
 OvmfPkg/OvmfPkgX64.dsc                           | 15 +++++++++++----
 OvmfPkg/OvmfPkgX64.fdf                           | 11 +++++++----
 4 files changed, 27 insertions(+), 9 deletions(-)

-- 
1.9.2


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel