summaryrefslogtreecommitdiffstats
path: root/include/hw/pci-host/spapr.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2014-05-27 07:36:35 +0200
committerAlexander Graf2014-06-16 13:24:39 +0200
commit523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d (patch)
treeb7d72322305d1dbc097846b9374dc034d6a04a74 /include/hw/pci-host/spapr.h
parentspapr_iommu: Convert old qdev_init_nofail() to object_property_set_bool (diff)
downloadqemu-523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d.tar.gz
qemu-523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d.tar.xz
qemu-523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d.zip
spapr_iommu: Get rid of window_size in sPAPRTCETable
This removes window_size as it is basically a copy of nb_table shifted by SPAPR_TCE_PAGE_SHIFT. As new dynamic DMA windows are going to support windows as big as the entire RAM and this number will be bigger that 32 capacity, we will have to do something about @window_size anyway and removal seems to be the right way to go. This removes dma_window_start/dma_window_size from sPAPRPHBState as they are no longer used. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/pci-host/spapr.h')
-rw-r--r--include/hw/pci-host/spapr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h
index 9ce83ea1aa..0934518bbd 100644
--- a/include/hw/pci-host/spapr.h
+++ b/include/hw/pci-host/spapr.h
@@ -60,8 +60,6 @@ struct sPAPRPHBState {
MemoryRegion memwindow, iowindow;
uint32_t dma_liobn;
- uint64_t dma_window_start;
- uint64_t dma_window_size;
AddressSpace iommu_as;
MemoryRegion iommu_root;