1 /* stubs for non-pci builds */
3 #include "qemu/osdep.h"
4 #include "qemu-common.h"
6 #include "s390-pci-inst.h"
7 #include "s390-pci-bus.h"
9 /* target/s390x/ioinst.c */
10 int pci_chsc_sei_nt2_get_event(void *res
)
15 int pci_chsc_sei_nt2_have_event(void)
21 void s390_pci_sclp_configure(SCCB
*sccb
)
23 sccb
->h
.response_code
= cpu_to_be16(SCLP_RC_ADAPTER_TYPE_NOT_RECOGNIZED
);
26 void s390_pci_sclp_deconfigure(SCCB
*sccb
)
28 sccb
->h
.response_code
= cpu_to_be16(SCLP_RC_ADAPTER_TYPE_NOT_RECOGNIZED
);
31 /* target/s390x/kvm.c */
32 int clp_service_call(S390CPU
*cpu
, uint8_t r2
)
37 int pcilg_service_call(S390CPU
*cpu
, uint8_t r1
, uint8_t r2
)
42 int pcistg_service_call(S390CPU
*cpu
, uint8_t r1
, uint8_t r2
)
47 int stpcifc_service_call(S390CPU
*cpu
, uint8_t r1
, uint64_t fiba
, uint8_t ar
)
52 int rpcit_service_call(S390CPU
*cpu
, uint8_t r1
, uint8_t r2
)
57 int pcistb_service_call(S390CPU
*cpu
, uint8_t r1
, uint8_t r3
, uint64_t gaddr
,
63 int mpcifc_service_call(S390CPU
*cpu
, uint8_t r1
, uint64_t fiba
, uint8_t ar
)
68 S390pciState
*s390_get_phb(void)
73 S390PCIBusDevice
*s390_pci_find_dev_by_target(S390pciState
*s
,