]> git.proxmox.com Git - mirror_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)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 15 Aug 2010 17:56:12 +0000 (17:56 +0000)
commit9fc391f8b54ea0be47baece3983e0f2224958f25
treeaf18c33b645df4ceac47899f0b82c73101ce32ad
parent68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb
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>
hw/escc.c