Home
last modified time | relevance | path

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

/qemu/rust/qemu-api/src/
H A Dqom.rs1f9d52c9388d14c3f5a605543a8ef53dceaad5bb Mon Oct 28 09:45:55 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: move bridge for TypeInfo functions out of pl011

Allow the ObjectImpl trait to expose Rust functions that avoid raw
pointers (though INSTANCE_INIT for example is still unsafe).
ObjectImpl::TYPE_INFO adds thunks around the functions in
ObjectImpl.

While at it, document `TypeInfo`.

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.rs1f9d52c9388d14c3f5a605543a8ef53dceaad5bb Mon Oct 28 09:45:55 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: move bridge for TypeInfo functions out of pl011

Allow the ObjectImpl trait to expose Rust functions that avoid raw
pointers (though INSTANCE_INIT for example is still unsafe).
ObjectImpl::TYPE_INFO adds thunks around the functions in
ObjectImpl.

While at it, document `TypeInfo`.

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