1 /* 2 * Support for virtio hypercalls on s390x 3 * 4 * Copyright 2012 IBM Corp. 5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> 6 * 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 9 * directory. 10 */ 11 12 #ifndef HW_S390_VIRTIO_HCALL_H 13 #define HW_S390_VIRTIO_HCALL_H 14 15 #include "standard-headers/asm-s390/kvm_virtio.h" 16 #include "standard-headers/asm-s390/virtio-ccw.h" 17 18 typedef int (*s390_virtio_fn)(const uint64_t *args); 19 void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn); 20 int s390_virtio_hypercall(CPUS390XState *env); 21 #endif /* HW_S390_VIRTIO_HCALL_H */ 22