commit | c44818a5fdbcca9a4e3474be70f8a2615e19922b | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Dec 02 17:28:26 2024 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jan 28 17:58:09 2025 +0100 |
tree | 43ad617daa6403d9fde926b080dd3ff2aaf3d087 | |
parent | a1ab4eed8d37e4afb78367d766edeadfdb489027 [diff] |
rust: pl011: remove duplicate definitions 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". Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>