]> git.proxmox.com Git - qemu.git/commit - hw/pci/pci.c
pci: add accessor function to get irq levels
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 1 Apr 2011 11:43:21 +0000 (20:43 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Apr 2011 12:53:56 +0000 (15:53 +0300)
commit9ddf8437856539c352070dee0e9fb6a33ab6ff5c
treea5b9c36b2cde5913c6a215bb28c2925ed47eb8a2
parent41e7313f878813efeac4a65680018efcaff322a9
pci: add accessor function to get irq levels

Introduce accessor function to know INTx levels.
It will be used later by q35.
Although piix_pci tracks the intx line levels, it can be eliminated
by this helper function.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c
hw/pci.h