mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
e48fdd9d90
commit
84aec8efd6
2 changed files with 39 additions and 22 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue