]> git.ipfire.org Git - thirdparty/qemu.git/commit
sparc escc IUS improvements (SunOS 4.1.4 fix)
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sun, 15 Aug 2010 14:04:41 +0000 (16:04 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Oct 2010 23:20:45 +0000 (18:20 -0500)
commitddfe317152193e70a996d9447d5bf2507d52c662
tree62e607d5173cae94dc7d2253e67b3ec111efea51
parent9f20b55b9a909de3499d5993f8da6c9bc469653f
sparc escc IUS improvements (SunOS 4.1.4 fix)

According to scc_escc_um.pdf:
 - Reset Highest IUS must update irq status to allow processing
   of the next priority interrupt.
 - rx interrupt has always higher priority than tx on same channel

The documentation only explicitly says that Reset Highest IUS
command (0x38) clears IUS bits, not that it clears the corresponding
interrupt too, so don't clear interrupts on this command.

The patch allows SunOS 4.1.4 to use the serial ports

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 9fc391f8b54ea0be47baece3983e0f2224958f25)
hw/escc.c