projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36ed06
)
target-alpha: Fix interrupt mask for cpu1
author
Richard Henderson
<rth@twiddle.net>
Tue, 22 Nov 2016 15:53:53 +0000
(16:53 +0100)
committer
Richard Henderson
<rth@twiddle.net>
Tue, 22 Nov 2016 15:53:53 +0000
(16:53 +0100)
A typo prevents ISA interrupts from being recognized on cpu0,
which is where the smp kernel normally wants to see them.
Signed-off-by: Richard Henderson <rth@twiddle.net>
hw/alpha/typhoon.c
patch
|
blob
|
history
diff --git
a/hw/alpha/typhoon.c
b/hw/alpha/typhoon.c
index 883db13f9605d92dadac4755c694af2b76086da7..f50f5cf186113bb9b428305c616f29989bd721e7 100644
(file)
--- a/
hw/alpha/typhoon.c
+++ b/
hw/alpha/typhoon.c
@@
-376,7
+376,7
@@
static void cchip_write(void *opaque, hwaddr addr,
break;
case 0x0240: /* DIM1 */
/* DIM: Device Interrupt Mask Register, CPU1. */
- s->cchip.dim[
0
] = val;
+ s->cchip.dim[
1
] = val;
cpu_irq_change(s->cchip.cpu[1], val & s->cchip.drir);
break;