master
h 32 lines 1000 Bytes
Raw
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 #include "target/s390x/cpu.h"
17 #include "hw/core/cpu.h"
18
19 void tcg_s390_tod_updated(CPUState *cs, run_on_cpu_data opaque);
20 G_NORETURN void tcg_s390_program_interrupt(CPUS390XState *env,
21 uint32_t code, uintptr_t ra);
22 G_NORETURN void tcg_s390_data_exception(CPUS390XState *env, uint32_t dxc,
23 uintptr_t ra);
24 G_NORETURN void tcg_s390_vector_exception(CPUS390XState *env, uint32_t vxc,
25 uintptr_t ra);
26
27 #ifndef CONFIG_USER_ONLY
28 void s390_cpu_recompute_watchpoints(CPUState *cs);
29 void s390x_cpu_debug_excp_handler(CPUState *cs);
30 #endif
31
32 #endif /* TCG_S390X_H */