]>
git.proxmox.com Git - qemu.git/blob - target-s390x/ioinst.c
2 * I/O instructions for S/390
4 * Copyright 2012 IBM Corp.
5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level
12 #include <sys/types.h>
17 int ioinst_disassemble_sch_ident(uint32_t value
, int *m
, int *cssid
, int *ssid
,
20 if (!IOINST_SCHID_ONE(value
)) {
23 if (!IOINST_SCHID_M(value
)) {
24 if (IOINST_SCHID_CSSID(value
)) {
30 *cssid
= IOINST_SCHID_CSSID(value
);
33 *ssid
= IOINST_SCHID_SSID(value
);
34 *schid
= IOINST_SCHID_NR(value
);