spapr_pci: Define default DMA window size as a macro
commit3e1a01cb554412e8a9c25573126356596dc0c50f
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 7 May 2015 05:33:32 +0000 (7 15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:50 +0000 (3 23:56 +0200)
tree85553b9aa2bd4dee453eac0dd4cc29cb470f49d1
parent4290ca49eed5e239695ce85c925a770e4a7317a6
spapr_pci: Define default DMA window size as a macro

This gets rid of a magic constant describing the default DMA window size
for an emulated PHB.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h