xref: /openbmc/qemu/rust/wrapper.h (revision 6fdc5bc1)
1*6fdc5bc1SManos Pitsidianakis /*
2*6fdc5bc1SManos Pitsidianakis  * QEMU System Emulator
3*6fdc5bc1SManos Pitsidianakis  *
4*6fdc5bc1SManos Pitsidianakis  * Copyright (c) 2024 Linaro Ltd.
5*6fdc5bc1SManos Pitsidianakis  *
6*6fdc5bc1SManos Pitsidianakis  * Authors: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
7*6fdc5bc1SManos Pitsidianakis  *
8*6fdc5bc1SManos Pitsidianakis  * Permission is hereby granted, free of charge, to any person obtaining a copy
9*6fdc5bc1SManos Pitsidianakis  * of this software and associated documentation files (the "Software"), to deal
10*6fdc5bc1SManos Pitsidianakis  * in the Software without restriction, including without limitation the rights
11*6fdc5bc1SManos Pitsidianakis  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12*6fdc5bc1SManos Pitsidianakis  * copies of the Software, and to permit persons to whom the Software is
13*6fdc5bc1SManos Pitsidianakis  * furnished to do so, subject to the following conditions:
14*6fdc5bc1SManos Pitsidianakis  *
15*6fdc5bc1SManos Pitsidianakis  * The above copyright notice and this permission notice shall be included in
16*6fdc5bc1SManos Pitsidianakis  * all copies or substantial portions of the Software.
17*6fdc5bc1SManos Pitsidianakis  *
18*6fdc5bc1SManos Pitsidianakis  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19*6fdc5bc1SManos Pitsidianakis  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20*6fdc5bc1SManos Pitsidianakis  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21*6fdc5bc1SManos Pitsidianakis  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22*6fdc5bc1SManos Pitsidianakis  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23*6fdc5bc1SManos Pitsidianakis  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24*6fdc5bc1SManos Pitsidianakis  * THE SOFTWARE.
25*6fdc5bc1SManos Pitsidianakis  */
26*6fdc5bc1SManos Pitsidianakis 
27*6fdc5bc1SManos Pitsidianakis 
28*6fdc5bc1SManos Pitsidianakis /*
29*6fdc5bc1SManos Pitsidianakis  * This header file is meant to be used as input to the `bindgen` application
30*6fdc5bc1SManos Pitsidianakis  * in order to generate C FFI compatible Rust bindings.
31*6fdc5bc1SManos Pitsidianakis  */
32*6fdc5bc1SManos Pitsidianakis 
33*6fdc5bc1SManos Pitsidianakis #include "qemu/osdep.h"
34*6fdc5bc1SManos Pitsidianakis #include "qemu/module.h"
35*6fdc5bc1SManos Pitsidianakis #include "qemu-io.h"
36*6fdc5bc1SManos Pitsidianakis #include "sysemu/sysemu.h"
37*6fdc5bc1SManos Pitsidianakis #include "hw/sysbus.h"
38*6fdc5bc1SManos Pitsidianakis #include "exec/memory.h"
39*6fdc5bc1SManos Pitsidianakis #include "chardev/char-fe.h"
40*6fdc5bc1SManos Pitsidianakis #include "hw/clock.h"
41*6fdc5bc1SManos Pitsidianakis #include "hw/qdev-clock.h"
42*6fdc5bc1SManos Pitsidianakis #include "hw/qdev-properties.h"
43*6fdc5bc1SManos Pitsidianakis #include "hw/qdev-properties-system.h"
44*6fdc5bc1SManos Pitsidianakis #include "hw/irq.h"
45*6fdc5bc1SManos Pitsidianakis #include "qapi/error.h"
46*6fdc5bc1SManos Pitsidianakis #include "migration/vmstate.h"
47*6fdc5bc1SManos Pitsidianakis #include "chardev/char-serial.h"
48