]> Git Repo - qemu.git/commit - hw/pci.c
pci: prepare irq code for interrupt state
authorMichael S. Tsirkin <[email protected]>
Wed, 25 Nov 2009 13:20:51 +0000 (15:20 +0200)
committerMichael S. Tsirkin <[email protected]>
Mon, 7 Dec 2009 19:50:53 +0000 (21:50 +0200)
commitd036bb215e0ac1d1fd467239f1d3b7d904cac90a
treefd05d70cc94d784ff069a93be4c979019a1786c8
parent5b5cb08683b6715a2aca5314168e68ff0665912b
pci: prepare irq code for interrupt state

This rearranges code in preparation for interrupt state
implementation.
Changes:
- split up bus walk away from interrupt handling
          into a subroutine
- change irq_state from an array to bitmask
- verify that irq_state values are 0 or 1 on load

There are no functional changes.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Isaku Yamahata <[email protected]>
hw/pci.c
hw/pci.h
This page took 0.025763 seconds and 4 git commands to generate.