On Sat, 8 Feb 2025 at 16:39, Philippe Mathieu-Daudé <[email protected]> wrote: > > Extract pl011_xmit() from pl011_write_txdata(). Use the > FIFO to pass the character to be transmitted. > > Implement it using the FEWatchFunc prototype, since we want > to register it as GSource later. While the return value is > not yet used, we return G_SOURCE_REMOVE meaning the GSource > is removed from the main loop (because we only send one char). > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
