pci: introduce helper functions to test-and-{clear, set} mask in configuration space
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 19 Oct 2010 09:06:28 +0000 (18:06 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Oct 2010 11:57:21 +0000 (13:57 +0200)
commit90ae4d5eac1555ba42091015f341ee2e96d7248c
treeda60155bfc35b0912ceab0132606b3271421f05e
parent107c7ee73a785b916a5f7189fde5997dd3ace6ca
pci: introduce helper functions to test-and-{clear, set} mask in configuration space

This patch introduces helper functions to test-and-{clear, set} mask in configuration
space. pci_{byte, word, long, quad}_test_and_{clear, set}_mask().
They will be used later.

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