dev, arm: Clean up PL011 and rewrite interrupt handling
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 2 Mar 2015 09:00:44 +0000 (04:00 -0500)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 2 Mar 2015 09:00:44 +0000 (04:00 -0500)
commit7be9d4eb673b9d9b45eabfd40a56718569a2a1be
tree90a4356f817492a686d6931a3068645858fab001
parentd64b34bef82e6ea8a2438d92224d8d093df47d59
dev, arm: Clean up PL011 and rewrite interrupt handling

The ARM PL011 UART model didn't clear and raise interrupts
correctly. This changeset rewrites the whole interrupt handling and
makes it both simpler and fixes several cases where the correct
interrupts weren't raised or cleared. Additionally, it cleans up many
other aspects of the code.
src/dev/arm/pl011.cc
src/dev/arm/pl011.hh