xlnx_dpdma.c (1be5a765c08cee3a9587c8a8d3fc2ea247b13f9c) | xlnx_dpdma.c (63e6b5645021bb2b545a39f2896a42da5c300d9c) |
---|---|
1/* 2 * xlnx_dpdma.c 3 * 4 * Copyright (C) 2015 : GreenSocs Ltd 5 * http://www.greensocs.com/ , email: info@greensocs.com 6 * 7 * Developed by : 8 * Frederic Konrad <fred.konrad@greensocs.com> --- 263 unchanged lines hidden (view full) --- 272static inline bool xlnx_dpdma_desc_ignore_done_bit(DPDMADescriptor *desc) 273{ 274 return (desc->control & DSCR_CTRL_IGNORE_DONE) != 0; 275} 276 277static const VMStateDescription vmstate_xlnx_dpdma = { 278 .name = TYPE_XLNX_DPDMA, 279 .version_id = 1, | 1/* 2 * xlnx_dpdma.c 3 * 4 * Copyright (C) 2015 : GreenSocs Ltd 5 * http://www.greensocs.com/ , email: info@greensocs.com 6 * 7 * Developed by : 8 * Frederic Konrad <fred.konrad@greensocs.com> --- 263 unchanged lines hidden (view full) --- 272static inline bool xlnx_dpdma_desc_ignore_done_bit(DPDMADescriptor *desc) 273{ 274 return (desc->control & DSCR_CTRL_IGNORE_DONE) != 0; 275} 276 277static const VMStateDescription vmstate_xlnx_dpdma = { 278 .name = TYPE_XLNX_DPDMA, 279 .version_id = 1, |
280 .fields = (VMStateField[]) { | 280 .fields = (const VMStateField[]) { |
281 VMSTATE_UINT32_ARRAY(registers, XlnxDPDMAState, 282 XLNX_DPDMA_REG_ARRAY_SIZE), 283 VMSTATE_BOOL_ARRAY(operation_finished, XlnxDPDMAState, 6), 284 VMSTATE_END_OF_LIST() 285 } 286}; 287 288static void xlnx_dpdma_update_irq(XlnxDPDMAState *s) --- 504 unchanged lines hidden --- | 281 VMSTATE_UINT32_ARRAY(registers, XlnxDPDMAState, 282 XLNX_DPDMA_REG_ARRAY_SIZE), 283 VMSTATE_BOOL_ARRAY(operation_finished, XlnxDPDMAState, 6), 284 VMSTATE_END_OF_LIST() 285 } 286}; 287 288static void xlnx_dpdma_update_irq(XlnxDPDMAState *s) --- 504 unchanged lines hidden --- |