rust: pl011: extract CharBackend receive logic into a separate function
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Dec 2024 18:00:21 +0000 (19:00 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jan 2025 18:27:40 +0000 (19:27 +0100)
commit137612772e300a386f0f0c31486eae7d1008a68c
treecb5df3d14bd89d3651e49f2fa8037b9d1c80f66b
parent6d314cc04544969bd83521a315312702b8c166d1
rust: pl011: extract CharBackend receive logic into a separate function

Prepare for moving all references to the registers and the FIFO into a
separate struct.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/src/device.rs