i8259: Replace PicState::pics_state with master flag
commit25985396423706d8fba9bd8c0e49217844700299
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Oct 2011 07:19:50 +0000 (7 09:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 16 Oct 2011 11:11:12 +0000 (16 11:11 +0000)
treefe6d7a66ed758a2265f8d8e494eead09b4f3db28
parent6e5580ca2b7a104fac865885e997da8b088de652
i8259: Replace PicState::pics_state with master flag

This reflects how real PICs indentify their role (in non-buffered mode):
Pass the state of the /SP input on pic_init and use it instead of
pics_state to differentiate between master and slave mode.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/i8259.c