| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | /* |
| 4 | * This header file is meant to be used as input to the `bindgen` application |
| 5 | * in order to generate C FFI compatible Rust bindings. |
| 6 | */ |
| 7 | |
| 8 | /* |
| 9 | * We block include/qemu/typedefs.h from bindgen, add here symbols |
| 10 | * that are needed as opaque types by other functions. |
| 11 | */ |
| 12 | typedef struct DirtyBitmapSnapshot DirtyBitmapSnapshot; |
| 13 | typedef struct MemoryRegion MemoryRegion; |
| 14 | typedef struct RAMBlock RAMBlock; |
| 15 | |
| 16 | #include "qemu/osdep.h" |
| 17 | |
| 18 | #include "exec/hwaddr.h" |
| 19 | #include "system/address-spaces.h" |
| 20 | #include "system/memory.h" |
| 21 | #include "hw/core/sysbus.h" |