hw/pci: introduce shpc_present() helper function
commit23ab143dcce8d7f758eb6946ebf68d8689018a9c
authorLaszlo Ersek <lersek@redhat.com>
Fri, 19 Jun 2015 02:40:12 +0000 (19 04:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jun 2015 20:57:48 +0000 (23 22:57 +0200)
tree4c9bf26be86c0441b7b5c2fe3fa84374f978a32c
parent7a7c6a41c5583b24f6a35b02c7f68c84ebd7e177
hw/pci: introduce shpc_present() helper function

It follows msi_present() in "include/hw/pci/msi.h".

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/pci/shpc.h