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