add ahci support
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Nov 2010 08:42:13 +0000 (09:42 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 5 Dec 2010 17:23:23 +0000 (12:23 -0500)
commitd52fdf6a6d4d710a8de12ca153bcd2735290c743
tree44e355fec52dd577d8a7549b4786a99d80d9758f
parent54fa8ec148cd7cf9a5d0ac1dcc4f6975b7a1ec6e
add ahci support

This patch adds AHCI support to seabios.  Tested with virtual hardware
only (upcoming ahci support in qemu).  Coded by looking at the
recommandations in the intel ahci specs, so I don't expect much trouble
on real hardware.  Tested booting fedora install from hard disk and a
opensuse live iso from cdrom.

[ v2: disable by default           ]
[ v2: add check for malloc failure ]
[ v2: wind up disk write support   ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Makefile
src/ahci.c [new file with mode: 0644]
src/ahci.h [new file with mode: 0644]
src/block.c
src/blockcmd.c
src/config.h
src/disk.h
src/post.c