Revision df32fd1c hw/ppc/spapr_vio.c
b/hw/ppc/spapr_vio.c | ||
---|---|---|
455 | 455 |
uint32_t liobn = SPAPR_VIO_BASE_LIOBN | dev->reg; |
456 | 456 |
dev->tcet = spapr_tce_new_table(liobn, pc->rtce_window_size); |
457 | 457 |
address_space_init(&dev->as, spapr_tce_get_iommu(dev->tcet)); |
458 |
dma_context_init(&dev->dma, &dev->as); |
|
459 | 458 |
} |
460 | 459 |
|
461 | 460 |
return pc->init(dev); |
Also available in: Unified diff