qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/10] rust: pl011: remove duplicate definitions


From: Zhao Liu
Subject: Re: [PATCH 08/10] rust: pl011: remove duplicate definitions
Date: Thu, 23 Jan 2025 14:12:00 +0800

On Fri, Jan 17, 2025 at 10:26:55AM +0100, Paolo Bonzini wrote:
> Date: Fri, 17 Jan 2025 10:26:55 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH 08/10] rust: pl011: remove duplicate definitions
> X-Mailer: git-send-email 2.47.1
> 
> Unify the "Interrupt" enum and the "INT_*" constants with a struct
> that contains the bits.  The "int_level" and "int_enabled" fields
> could use a crate such as "bitflags".
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  rust/hw/char/pl011/src/device.rs | 36 ++++++++++++-------------
>  rust/hw/char/pl011/src/lib.rs    | 46 +++++++++++---------------------
>  2 files changed, 33 insertions(+), 49 deletions(-)
> 

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]