mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/dma: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-28-richard.henderson@linaro.org>
This commit is contained in:
parent
f0613160d2
commit
63e6b56450
12 changed files with 21 additions and 21 deletions
|
@ -277,7 +277,7 @@ static inline bool xlnx_dpdma_desc_ignore_done_bit(DPDMADescriptor *desc)
|
|||
static const VMStateDescription vmstate_xlnx_dpdma = {
|
||||
.name = TYPE_XLNX_DPDMA,
|
||||
.version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32_ARRAY(registers, XlnxDPDMAState,
|
||||
XLNX_DPDMA_REG_ARRAY_SIZE),
|
||||
VMSTATE_BOOL_ARRAY(operation_finished, XlnxDPDMAState, 6),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue