]> git.proxmox.com Git - mirror_qemu.git/commit
hw/char/pl011: Support all interrupt lines
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (18:17 +0000)
commita3c1ca56c0a6ec368a7876f2331b037d066b0b27
treee57c6d80cd8633cd5b52310e26efe9cb5530ecaf
parent694cf209990f7b7a6f6f30b21010bab92c985175
hw/char/pl011: Support all interrupt lines

The PL011 UART has six interrupt lines:
 * RX (receive data)
 * TX (transmit data)
 * RT (receive timeout)
 * MS (modem status)
 * E (errors)
 * combined (logical OR of all the above)

So far we have only emulated the combined interrupt line;
add support for the others, so that boards that wire them
up to different interrupt controller inputs can do so.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/char/pl011.c
include/hw/char/pl011.h