pci: 64bit bar support.
commit1442125843baabc053b71684c85ddb02b9080d6c
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:21:11 +0000 (30 21:21 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:09 +0000 (9 08:43 -0600)
tree13dccdda97ea7c2085da6e14da448de8b692067d
parent4f8589e11558f1151d95a4a3e9fce902f042df3d
pci: 64bit bar support.

implemented pci 64bit bar support.
The tricky bit is pci_update_mapping().
An OS is allowed to set the BAR such that OS can't address the area
pointed by BAR. It doesn't make sense, though.
In that case, don't map the BAR.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
hw/pci.h