QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
749 B
27 lines
749 B
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/*
|
|
* This header file is meant to be used as input to the `bindgen` application
|
|
* in order to generate C FFI compatible Rust bindings.
|
|
*/
|
|
|
|
#ifndef __CLANG_STDATOMIC_H
|
|
#define __CLANG_STDATOMIC_H
|
|
/*
|
|
* Fix potential missing stdatomic.h error in case bindgen does not insert the
|
|
* correct libclang header paths on its own. We do not use stdatomic.h symbols
|
|
* in QEMU code, so it's fine to declare dummy types instead.
|
|
*/
|
|
typedef enum memory_order {
|
|
memory_order_relaxed,
|
|
memory_order_consume,
|
|
memory_order_acquire,
|
|
memory_order_release,
|
|
memory_order_acq_rel,
|
|
memory_order_seq_cst,
|
|
} memory_order;
|
|
#endif /* __CLANG_STDATOMIC_H */
|
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "qemu/main-loop.h"
|
|
|