David Gibson | 8292f75 | 2012-06-27 14:50:37 +1000 | [diff] [blame] | 1 | /* |
| 2 | * Support for dma_addr_t typed properties |
| 3 | * |
| 4 | * Copyright (C) 2012 David Gibson, IBM Corporation. |
| 5 | * |
| 6 | * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| 7 | * See the COPYING file in the top-level directory. |
| 8 | */ |
Markus Armbruster | f91005e | 2019-06-04 20:16:18 +0200 | [diff] [blame] | 9 | |
| 10 | #ifndef HW_QDEV_DMA_H |
| 11 | #define HW_QDEV_DMA_H |
| 12 | |
David Gibson | 8292f75 | 2012-06-27 14:50:37 +1000 | [diff] [blame] | 13 | #define DEFINE_PROP_DMAADDR(_n, _s, _f, _d) \ |
Paolo Bonzini | c7bcc85 | 2014-02-08 11:01:53 +0100 | [diff] [blame] | 14 | DEFINE_PROP_UINT64(_n, _s, _f, _d) |
Markus Armbruster | f91005e | 2019-06-04 20:16:18 +0200 | [diff] [blame] | 15 | |
| 16 | #endif |