]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i8259.c
i8259: Eliminate PicState2
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Oct 2011 07:19:51 +0000 (09:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 16 Oct 2011 11:11:13 +0000 (11:11 +0000)
commitc17725f4730941fc06a512ef2aa6c2e9377347ad
tree2b1cd73d69359331959a972931bb3a3b7376a338
parent25985396423706d8fba9bd8c0e49217844700299
i8259: Eliminate PicState2

Introduce a reference to the slave PIC for the few cases we need to
access it without a proper pointer at hand and drop PicState2. We could
even live without slave_pic if we had a better way of modeling the
cascade bus the PICs are attached to (in addition to the ISA bus).

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