aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-pci-inst.h
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.vnet.ibm.com>2017-11-30 13:55:25 +0100
committerCornelia Huck <cohuck@redhat.com>2017-12-14 17:56:54 +0100
commit7645b9a794741be6d007d8074c73c4510d269ad4 (patch)
tree23452e92547646cd927eeb03e64a89d28f85451c /hw/s390x/s390-pci-inst.h
parentc748814b20f1f1b43eed1fd32c84579c60f4cc58 (diff)
downloadqemu-7645b9a794741be6d007d8074c73c4510d269ad4.zip
qemu-7645b9a794741be6d007d8074c73c4510d269ad4.tar.gz
qemu-7645b9a794741be6d007d8074c73c4510d269ad4.tar.bz2
s390x/pci: rework PCI STORE
Enhance the fault detection, correction of the fault reporting. Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Reviewed-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com> Message-Id: <1512046530-17773-3-git-send-email-pmorel@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/s390-pci-inst.h')
-rw-r--r--hw/s390x/s390-pci-inst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/s390x/s390-pci-inst.h b/hw/s390x/s390-pci-inst.h
index 93ef290..a396364 100644
--- a/hw/s390x/s390-pci-inst.h
+++ b/hw/s390x/s390-pci-inst.h
@@ -304,4 +304,8 @@ int mpcifc_service_call(S390CPU *cpu, uint8_t r1, uint64_t fiba, uint8_t ar,
int stpcifc_service_call(S390CPU *cpu, uint8_t r1, uint64_t fiba, uint8_t ar,
uintptr_t ra);
+#define ZPCI_IO_BAR_MIN 0
+#define ZPCI_IO_BAR_MAX 5
+#define ZPCI_CONFIG_BAR 15
+
#endif