4866334981
Let hw/hyperv/hyperv.c and hw/intc/s390_flic.c handle (respectively) SynIC and adapter routes, removing the code from target-independent files. This also removes the only occurrence of AdapterInfo outside s390 code, so remove that from typedefs.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
24 lines
521 B
C
24 lines
521 B
C
/*
|
|
* s390 adapter definitions
|
|
*
|
|
* Copyright 2013,2014 IBM Corp.
|
|
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
* your option) any later version. See the COPYING file in the top-level
|
|
* directory.
|
|
*/
|
|
|
|
#ifndef S390X_ADAPTER_H
|
|
#define S390X_ADAPTER_H
|
|
|
|
typedef struct AdapterInfo {
|
|
uint64_t ind_addr;
|
|
uint64_t summary_addr;
|
|
uint64_t ind_offset;
|
|
uint32_t summary_offset;
|
|
uint32_t adapter_id;
|
|
} AdapterInfo;
|
|
|
|
#endif
|