Skip to content

Commit

Permalink
Fix i8259 initialization, by Bernhard Kauer.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3100 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
ths committed Jul 31, 2007
1 parent a2cce02 commit 2bb081f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static void pic_ioport_write(void *opaque, uint32_t addr, uint32_t val)
break;
case 1:
s->irq_base = val & 0xf8;
s->init_state = s->single_mode && s->init4 ? 3 : 2;
s->init_state = s->single_mode ? (s->init4 ? 3 : 0) : 2;
break;
case 2:
if (s->init4) {
Expand Down

0 comments on commit 2bb081f

Please sign in to comment.