qemu-cr16/rust/util
Paolo Bonzini 75871d88d3 log: change qemu_loglevel to unsigned
Bindgen makes the LOG_* constants unsigned, even if they are defined as
(1 << 15):

   pub const LOG_TRACE: u32 = 32768;

Make them unsigned in C as well through the BIT() macro, and also change
the type of the variable that they are used with.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20250929154938.594389-14-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2025-10-01 11:22:07 -04:00
..
src log: change qemu_loglevel to unsigned 2025-10-01 11:22:07 -04:00
build.rs
Cargo.toml rust: re-export qemu macros from common/qom/hwcore 2025-09-17 19:00:58 +02:00
meson.build build-sys: pass -fvisibility=default for wasm bindgen 2025-09-30 19:33:25 +04:00
wrapper.h