On Mon, Sep 08, 2025 at 12:49:59PM +0200, Paolo Bonzini wrote: > Date: Mon, 8 Sep 2025 12:49:59 +0200 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 27/33] rust/pl011: drop dependency on qemu_api > X-Mailer: git-send-email 2.51.0 > > From: Marc-André Lureau <[email protected]> > > Signed-off-by: Marc-André Lureau <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > Signed-off-by: Paolo Bonzini <[email protected]> > --- > rust/hw/char/pl011/wrapper.h | 51 ++++++++++++++++++++++++++++++ > rust/Cargo.lock | 1 - > rust/hw/char/pl011/Cargo.toml | 1 - > rust/hw/char/pl011/build.rs | 1 + > rust/hw/char/pl011/meson.build | 27 ++++++++++++++-- > rust/hw/char/pl011/src/bindings.rs | 27 ++++++++++++++++ > rust/hw/char/pl011/src/device.rs | 2 +- > rust/hw/char/pl011/src/lib.rs | 1 + > 8 files changed, 106 insertions(+), 5 deletions(-) > create mode 100644 rust/hw/char/pl011/wrapper.h > create mode 120000 rust/hw/char/pl011/build.rs > create mode 100644 rust/hw/char/pl011/src/bindings.rs > > diff --git a/rust/hw/char/pl011/wrapper.h b/rust/hw/char/pl011/wrapper.h > new file mode 100644 > index 00000000000..87a5a589c8e > --- /dev/null > +++ b/rust/hw/char/pl011/wrapper.h > @@ -0,0 +1,51 @@ > +/* > + * QEMU System Emulator > + * > + * Copyright (c) 2024 Linaro Ltd. > + * > + * Authors: Manos Pitsidianakis <[email protected]> > + * > + * Permission is hereby granted, free of charge, to any person obtaining a > copy > + * of this software and associated documentation files (the "Software"), to > deal > + * in the Software without restriction, including without limitation the > rights > + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell > + * copies of the Software, and to permit persons to whom the Software is > + * furnished to do so, subject to the following conditions: > + * > + * The above copyright notice and this permission notice shall be included in > + * all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > FROM, > + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN > + * THE SOFTWARE. > + */
nit: missing SPDX-License-Identifier. Reviewed-by: Zhao Liu <[email protected]>
