]>
Commit | Line | Data |
---|---|---|
228021f0 SG |
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* | |
3 | * QEMU LoongArch CPU -- internal functions and types | |
4 | * | |
5 | * Copyright (c) 2021 Loongson Technology Corporation Limited | |
6 | */ | |
7 | ||
8 | #ifndef LOONGARCH_INTERNALS_H | |
9 | #define LOONGARCH_INTERNALS_H | |
10 | ||
11 | void loongarch_translate_init(void); | |
12 | ||
13 | void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags); | |
14 | ||
15 | void G_NORETURN do_raise_exception(CPULoongArchState *env, | |
16 | uint32_t exception, | |
17 | uintptr_t pc); | |
18 | ||
19 | const char *loongarch_exception_name(int32_t exception); | |
20 | ||
d578ca6c SG |
21 | void restore_fp_status(CPULoongArchState *env); |
22 | ||
228021f0 | 23 | #endif |