Home
last modified time | relevance | path

Searched hist:"7630 ca2a701a0f79728996e660cda06518c97b9b" (Results 1 – 2 of 2) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dsysbus.rs7630ca2a701a0f79728996e660cda06518c97b9b Mon Feb 10 15:11:58 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: pl011: convert pl011_create to safe Rust

Not a major change but, as a small but significant step in creating
qdev bindings, show how pl011_create can be written without "unsafe"
calls (apart from converting pointers to references).

This also provides a starting point for creating Error** bindings.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs7630ca2a701a0f79728996e660cda06518c97b9b Mon Feb 10 15:11:58 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: pl011: convert pl011_create to safe Rust

Not a major change but, as a small but significant step in creating
qdev bindings, show how pl011_create can be written without "unsafe"
calls (apart from converting pointers to references).

This also provides a starting point for creating Error** bindings.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>