qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] UART EMULATION IN QEMU


From: Ayaz Akram
Subject: [Qemu-devel] UART EMULATION IN QEMU
Date: Mon, 17 Mar 2014 22:41:12 +0500

After reviewing uart's emulation related code in serial.c I am not able to understand how interrupt is raised in case fifo mode is enabled. according to UART specifiation, in fifo mode THRE interrupt is raised when fifo is either empty or below threshold.. What I can see, in xmit_serial function, serial_update_irq is called every time THR is empty.. Should there not be some code to check and raise interrupt only if fifo is below some threshold ??

reply via email to

[Prev in Thread] Current Thread [Next in Thread]