mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
s390/sclp: move sclp_service_interrupt into the sclp device
Let's make that function a method of the new sclp device, keeping the wrapper for existing users. We can now let go of get_event_facility(). Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
25a3c5af57
commit
1723a1b631
2 changed files with 13 additions and 9 deletions
|
@ -192,6 +192,7 @@ typedef struct SCLPDeviceClass {
|
|||
|
||||
/* public */
|
||||
void (*execute)(SCLPDevice *sclp, SCCB *sccb, uint32_t code);
|
||||
void (*service_interrupt)(SCLPDevice *sclp, uint32_t sccb);
|
||||
} SCLPDeviceClass;
|
||||
|
||||
typedef struct sclpMemoryHotplugDev sclpMemoryHotplugDev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue