1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * QEMU LoongArch CPU -- internal functions and types
5 * Copyright (c) 2021 Loongson Technology Corporation Limited
8 #ifndef LOONGARCH_INTERNALS_H
9 #define LOONGARCH_INTERNALS_H
11 void loongarch_translate_init(void);
13 void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
15 void G_NORETURN do_raise_exception(CPULoongArchState *env,
19 const char *loongarch_exception_name(int32_t exception);