]> git.proxmox.com Git - mirror_qemu.git/commit
ahci: add port I/O index-data pair
authorDaniel Verkamp <daniel@drv.nu>
Sat, 27 Aug 2011 09:12:28 +0000 (02:12 -0700)
committerKevin Wolf <kwolf@redhat.com>
Wed, 21 Sep 2011 12:32:20 +0000 (14:32 +0200)
commit465f1ab16169f5d71e52f11d4c650a50fd681030
tree02fee21253c82795551111e8d63f46fd7b2ba8f1
parent8e72506e20d9e606783de1cdb8d60dd9b9241e30
ahci: add port I/O index-data pair

Implement an I/O space index-data register pair as defined by the AHCI
spec, including the corresponding SATA PCI capability and BAR.

This allows real-mode code to access the AHCI registers; real-mode
code cannot address the memory-mapped register space because it is
beyond the first megabyte.

Signed-off-by: Daniel Verkamp <daniel@drv.nu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/ahci.c
hw/ide/ahci.h
hw/ide/ich.c
hw/pci_regs.h