Searched hist:"559 a779c6aa309853474240b01fcc2beff1f04ca" (Results 1 – 4 of 4) sorted by relevance
/qemu/rust/qemu-api/src/ |
H A D | irq.rs | 559a779c6aa309853474240b01fcc2beff1f04ca Fri Nov 29 09:46:44 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()" without any intermediate upcast.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | sysbus.rs | 559a779c6aa309853474240b01fcc2beff1f04ca Fri Nov 29 09:46:44 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()" without any intermediate upcast.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | prelude.rs | 559a779c6aa309853474240b01fcc2beff1f04ca Fri Nov 29 09:46:44 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()" without any intermediate upcast.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 559a779c6aa309853474240b01fcc2beff1f04ca Fri Nov 29 09:46:44 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()" without any intermediate upcast.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|