xref: /openbmc/qemu/target/s390x/tcg/tcg_s390x.h (revision 756a98dd)
1 /*
2  * QEMU TCG support -- s390x specific functions.
3  *
4  * Copyright 2018 Red Hat, Inc.
5  *
6  * Authors:
7  *   David Hildenbrand <david@redhat.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10  * See the COPYING file in the top-level directory.
11  */
12 
13 #ifndef TCG_S390X_H
14 #define TCG_S390X_H
15 
16 void tcg_s390_tod_updated(CPUState *cs, run_on_cpu_data opaque);
17 G_NORETURN void tcg_s390_program_interrupt(CPUS390XState *env,
18                                            uint32_t code, uintptr_t ra);
19 G_NORETURN void tcg_s390_data_exception(CPUS390XState *env, uint32_t dxc,
20                                         uintptr_t ra);
21 G_NORETURN void tcg_s390_vector_exception(CPUS390XState *env, uint32_t vxc,
22                                           uintptr_t ra);
23 
24 #endif /* TCG_S390X_H */
25