diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2013-01-27 23:59:26 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-01-29 21:50:05 +0100 |
commit | 50c8d9bfc6d9ca48b978c6201f97bd850bd0dc83 (patch) | |
tree | 9a7fc2e9ac35cf8752e273dd17295c484c2ad50f /target-s390x/ioinst.h | |
parent | 2e788490d83a4de5bea00207c8695edd5d487e4a (diff) | |
download | qemu-50c8d9bfc6d9ca48b978c6201f97bd850bd0dc83.zip qemu-50c8d9bfc6d9ca48b978c6201f97bd850bd0dc83.tar.gz qemu-50c8d9bfc6d9ca48b978c6201f97bd850bd0dc83.tar.bz2 |
s390: Use s390_cpu_physical_memory_map for tpi.
Map the I/O interruption code before calling into css.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/ioinst.h')
-rw-r--r-- | target-s390x/ioinst.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target-s390x/ioinst.h b/target-s390x/ioinst.h index a59742c..d5a43f4 100644 --- a/target-s390x/ioinst.h +++ b/target-s390x/ioinst.h @@ -195,6 +195,13 @@ typedef struct CRW { #define CRW_RSC_SUBCH 0x3 #define CRW_RSC_CHP 0x4 +/* I/O interruption code */ +typedef struct IOIntCode { + uint32_t subsys_id; + uint32_t intparm; + uint32_t interrupt_id; +} QEMU_PACKED IOIntCode; + /* schid disintegration */ #define IOINST_SCHID_ONE(_schid) ((_schid & 0x00010000) >> 16) #define IOINST_SCHID_M(_schid) ((_schid & 0x00080000) >> 19) |