hw/dma: Move ScatterGatherEntry / QEMUSGList declarations around
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 11 Jan 2022 10:32:22 +0000 (11:32 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 18 Jan 2022 11:56:29 +0000 (12:56 +0100)
commit026644cf5f9fd8c27ea7f4f2fd4fea8102b30001
tree39679e117f6326d7322992af764d4c77737c58a2
parent60791a2c27e1b8f82ff035a474b2f96f0fafa66c
hw/dma: Move ScatterGatherEntry / QEMUSGList declarations around

In the next commit we will use the dma_addr_t type in the QEMUSGList
structure. Since currently dma_addr_t is defined after QEMUSGList,
move the declarations to have dma_addr_t defined first. This is a
pure code-movement patch.

Suggested-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220111184309.28637-10-f4bug@amsat.org>
include/sysemu/dma.h