diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-03-04 03:40:59 +0300 |
---|---|---|
committer | Andrzej Zaborowski <balrog@zabor.org> | 2011-03-10 02:46:21 +0100 |
commit | 4ff927cc62ea79092e21827f17d19a3d85973e84 (patch) | |
tree | 273263209706eeb8521bad6657d0bdaa3a06d385 /hw/pxa2xx_pic.c | |
parent | 07bf23a77131668ef8db37e08d508b117655ce86 (diff) | |
download | qemu-4ff927cc62ea79092e21827f17d19a3d85973e84.zip qemu-4ff927cc62ea79092e21827f17d19a3d85973e84.tar.gz qemu-4ff927cc62ea79092e21827f17d19a3d85973e84.tar.bz2 |
pxa2xx_timer: separate irq for pxa27x handling
First, sysbus_init_irq shan't be called on on-stack variables. Indeed,
it only stores a passed pointer in qdev and the stored irq is later
populated, so we get a nice write-to-stack bug.
Second, irq for pxa27x should probably be handled in a more gentler way,
as we should check if we have events to raise this irq.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/pxa2xx_pic.c')
0 files changed, 0 insertions, 0 deletions