mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
s390x/css: support format-0 ccws
Add support for format-0 ccws in channel programs. As a format-1 ccw contains the same information as format-0 ccws, only supporting larger addresses, simply convert every ccw to format-1 as we walk the chain. Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
450749141e
commit
a327c9215d
3 changed files with 32 additions and 9 deletions
|
@ -156,6 +156,16 @@ typedef struct ORB {
|
|||
#define ORB_CTRL1_MASK_ORBX 0x01
|
||||
#define ORB_CTRL1_MASK_INVALID 0x3e
|
||||
|
||||
/* channel command word (type 0) */
|
||||
typedef struct CCW0 {
|
||||
uint8_t cmd_code;
|
||||
uint8_t cda0;
|
||||
uint16_t cda1;
|
||||
uint8_t flags;
|
||||
uint8_t reserved;
|
||||
uint16_t count;
|
||||
} QEMU_PACKED CCW0;
|
||||
|
||||
/* channel command word (type 1) */
|
||||
typedef struct CCW1 {
|
||||
uint8_t cmd_code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue