]> git.proxmox.com Git - qemu.git/commit
pci: implement RW1C register framework.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 15 Sep 2010 05:38:15 +0000 (14:38 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 Sep 2010 18:10:20 +0000 (20:10 +0200)
commit92ba5f51c305911cbfc0fcff9f259b0604681222
tree2a11c5a118f98af364360d5795a0ba3cf46b1fa4
parent0bb750ef9e897ba5f4d9899ddc7e222e809bcbbd
pci: implement RW1C register framework.

Implement RW1C register framework.
With this patch, it would be easy to implement
W1C(Write 1 to Clear) register by just setting w1cmask.
Later RW1C register will be used by pcie.

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