diff options
author | Edgar E. Iglesias | 2018-10-11 04:19:25 +0200 |
---|---|---|
committer | Peter Maydell | 2018-10-16 18:13:49 +0200 |
commit | 84aec8efd62052f6aeda570b328bc3ac484a1d30 (patch) | |
tree | b4775e56543f155e70fe838e3c6fba6a3614501b /include/hw/net | |
parent | net: cadence_gem: Add support for extended descriptors (diff) | |
download | qemu-84aec8efd62052f6aeda570b328bc3ac484a1d30.tar.gz qemu-84aec8efd62052f6aeda570b328bc3ac484a1d30.tar.xz qemu-84aec8efd62052f6aeda570b328bc3ac484a1d30.zip |
net: cadence_gem: Add support for selecting the DMA MemoryRegion
Add support for selecting the Memory Region that the GEM
will do DMA to.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20181011021931.4249-7-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/net')
-rw-r--r-- | include/hw/net/cadence_gem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/net/cadence_gem.h b/include/hw/net/cadence_gem.h index 00dbf4f72e..5426961d91 100644 --- a/include/hw/net/cadence_gem.h +++ b/include/hw/net/cadence_gem.h @@ -45,6 +45,8 @@ typedef struct CadenceGEMState { /*< public >*/ MemoryRegion iomem; + MemoryRegion *dma_mr; + AddressSpace dma_as; NICState *nic; NICConf conf; qemu_irq irq[MAX_PRIORITY_QUEUES]; |