pci: typedef pcibus_t as uint64_t instead of uint32_t.
commit4f8589e11558f1151d95a4a3e9fce902f042df3d
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:21:10 +0000 (30 21:21 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:08 +0000 (9 08:43 -0600)
treeb2564c76ca9635832de018f938cd617c9d7ce087
parent89e8b13c530a9375c43e617c09d07d78d7065926
pci: typedef pcibus_t as uint64_t instead of uint32_t.

This patch is preliminary for 64bit bar.
For 64bit bar support, change pcibus_t which represents
pci bus addr/size from uint32_t to uint64_t.
And also change FMT_pcibus for printf.

In pci_update_mapping() checks 32bit overflow.
So the check must be updated too.

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