hw/char/pl011: Extract pl011_write_txdata() from pl011_write()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 May 2023 08:41:04 +0000 (10:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:11:13 +0000 (20:11 +0200)
commitbd6051b7cf027e60080a5c0ab3b002685f73105c
tree7c356cdce0076e699a34480f657862f24fdd0fd9
parent02b1f7f619285c21a4eaa1a21734ab196824fc54
hw/char/pl011: Extract pl011_write_txdata() from pl011_write()

When implementing FIFO, this code will become more complex.
Start by factoring it out to a new pl011_write_txdata() function.
No functional change intended.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240719181041.49545-7-philmd@linaro.org>
hw/char/pl011.c