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 <pbonz...@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 <pbonz...@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....@intel.com>


Reply via email to